Commit 29c312c2e21f51091707af073e662c9f2825cfcc

Authored by Luan
1 parent 5fa855f2

Keeping order when a subfilter has been used

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/templates/search/search.html
@@ -30,6 +30,7 @@ @@ -30,6 +30,7 @@
30 <hr /> 30 <hr />
31 <form role="form"> 31 <form role="form">
32 <input type="hidden" name="q" value="{{ request.GET.q }}" /> 32 <input type="hidden" name="q" value="{{ request.GET.q }}" />
  33 + <input type="hidden" name="order" value="{{ request.GET.order }}" />
33 <input type="hidden" name="type" value="{{ type_chosen }}" /> 34 <input type="hidden" name="type" value="{{ type_chosen }}" />
34 35
35 {% for field_lookup, field_display, field_value in filters.fields %} 36 {% for field_lookup, field_display, field_value in filters.fields %}