Bug 24120: URI filter search terms in sort dropdowns

To test:
1 - Search for C++
2 - Sort your results
3 - Note search is now for "C  "
4 - Apply patch
5 - Search for C++
6 - Reorder results
7 - Still searching for C++

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 59ea9b3cc2)
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
(cherry picked from commit c9cd551d5454b78bd01ac29762962f487fb8bd60)
This commit is contained in:
Nick Clemens 2019-11-26 13:19:28 +00:00 committed by Hayley Mapley
parent 28960958cb
commit f0054fec85
1 changed files with 2 additions and 2 deletions

View File

@ -150,10 +150,10 @@
[% IF ( searchdesc ) %]
[% BLOCK sort_search_query ~%]
[%~ FOREACH QUERY_INPUT IN QUERY_INPUTS ~%]
&amp;[% QUERY_INPUT.input_name | html %]=[% QUERY_INPUT.input_value | html %]
&amp;[% QUERY_INPUT.input_name | html %]=[% QUERY_INPUT.input_value | uri %]
[%~ END ~%]
[%~ FOREACH LIMIT_INPUT IN LIMIT_INPUTS ~%]
&amp;[% LIMIT_INPUT.input_name | html %]=[% LIMIT_INPUT.input_value | html %]
&amp;[% LIMIT_INPUT.input_name | html %]=[% LIMIT_INPUT.input_value | uri %]
[%~ END ~%]
[%~ END %]
[% END %]