From 66e9870a3e50cd937cab93fc23085e372e66cf3e Mon Sep 17 00:00:00 2001 From: Chloe Date: Tue, 19 Jan 2016 03:09:50 +0000 Subject: [PATCH] Bug 15468 - Search links on callnumbers with parentheses fails on OPAC results page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To Test: 1-before plugin search in opac for a call number with either a "(" or a ")" in it 2-it should come back with no results 3-use plugin 4-re-search the call number with "(" or ")" 5-the search should come back with results Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer It seems this only works with OPAC XSLT for results page turned off and OPACItemsResultsDisplay turned on. - Then the callnumbers in the result list will be linked for searching. Signed-off-by: Brendan A Gallagher (cherry picked from commit 6d9a75014e1f1ef7dc84a3d14643271658eacc2e) Signed-off-by: Julian Maurice (cherry picked from commit 27f9eb01197dddb95332871eb5c1ba4fe3589af0) Signed-off-by: Frédéric Demians --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index 6bcb58261f..ff9a5912f0 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -400,7 +400,7 @@ [% IF ( OPACItemsResultsDisplay ) %] [% UNLESS ( singleBranchMode ) %][% available_items_loo.location %][% END %] - [% IF ( available_items_loo.itemcallnumber ) %][[% available_items_loo.itemcallnumber %]][% END %] + [% IF ( available_items_loo.itemcallnumber ) %][[% available_items_loo.itemcallnumber %]][% END %] [% END %] ([% available_items_loo.count %]),