From 6d9a75014e1f1ef7dc84a3d14643271658eacc2e 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 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 --- 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 8a0ec89282..7fe17a90b7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -402,7 +402,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 %]), -- 2.20.1