# HG changeset patch # User rougeronj # Date 1437052467 -7200 # Node ID 8e26a5511bb86a149e69f8d5d77e96071dc99535 # Parent bb6a5b3eb269b09c45a3663b5844d4113ff09628 send back to the template the correct api url corresponding to the current exposition diff -r bb6a5b3eb269 -r 8e26a5511bb8 server/ammicosrv/ammico/views.py --- a/server/ammicosrv/ammico/views.py Wed Jul 08 17:59:04 2015 +0200 +++ b/server/ammicosrv/ammico/views.py Thu Jul 16 15:14:27 2015 +0200 @@ -94,7 +94,7 @@ 'token': key, 'idExpo': idExpo, 'ammicoUrl': request.build_absolute_uri(reverse('ammico:api-root')), - 'searchUrl': settings.URL_EXALEAD + 'searchUrl': Exposition.objects.get(id=idExpo).url_exalead } return render(request, 'indexAmmico.html', {'context': context}) else: