--- a/src/egonomy/templates/partial/fragment_in_list.html Tue Jul 02 13:16:00 2013 +0200
+++ b/src/egonomy/templates/partial/fragment_in_list.html Tue Jul 02 16:38:05 2013 +0200
@@ -1,7 +1,7 @@
{% load i18n %}
{# we suppose here that "frg" has been defined #}
{% with fragment=frg.object|default:frg %}{# frg.object in search case, frg otherwise #}
-<a href="{% url 'view_fragment' fragment_pk=frg.pk %}">
+<a href="{% url 'view_fragment' fragment_pk=frg.pk %}{% if search %}?search={{ search }}&index_search={{ offset_search|add:forloop.counter0 }}&nb_results={{ nb_results }}{% endif %}">
<div class="center-image">
<div class="image-and-fragment square-fragment-225">
{% with image=fragment.image.info.image_file %}