From 78efb426f1af700d3d3865abefc651f88b8415a4 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 26 Nov 2019 13:19:28 +0000 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 2f8d5dbaec..d20c6b6ade 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -169,10 +169,10 @@ [% IF ( searchdesc ) %] [% BLOCK sort_search_query ~%] [%~ FOREACH QUERY_INPUT IN QUERY_INPUTS ~%] - &[% QUERY_INPUT.input_name | html %]=[% QUERY_INPUT.input_value | html %] + &[% QUERY_INPUT.input_name | html %]=[% QUERY_INPUT.input_value | uri %] [%~ END ~%] [%~ FOREACH LIMIT_INPUT IN LIMIT_INPUTS ~%] - &[% LIMIT_INPUT.input_name | html %]=[% LIMIT_INPUT.input_value | html %] + &[% LIMIT_INPUT.input_name | html %]=[% LIMIT_INPUT.input_value | uri %] [%~ END ~%] [%~ END %] [% END %] -- 2.11.0