[Bug 15468] New: Search links on callnumber fails on opac results page
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15468 Bug ID: 15468 Summary: Search links on callnumber fails on opac results page Change sponsored?: --- Product: Koha Version: 3.22 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching Assignee: gmcharlt@gmail.com Reporter: jefkoha@dias.ie QA Contact: testopia@bugs.koha-community.org Similar to Bug 12405, but for the OPAC. Freshly migrated from Heritage to Koha: https://library.celt.dias.ie If a call number contains "(" or ")", the "q=callnum" query doesn't work in the Debian packaged version 3.22 Example: https://library.celt.dias.ie/cgi-bin/koha/opac-search.pl?q=callnum:891.6205%...) Solution is similar to Bug 12405, is to introduce %22 into the search query https://library.celt.dias.ie/cgi-bin/koha/opac-search.pl?q=callnum:%22891.62... This can be done by changing: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/modules/opac-results.tt on line 405: [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/opac-search.pl?q=callnum:%22[% available_items_loo.itemcallnumber |url %]%22">[% available_items_loo.itemcallnumber %]</a>][% END %] -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15468 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Keywords| |Academy -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15468 Chloe Alabaster <chloealabaster@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15468 --- Comment #1 from Chloe Alabaster <chloealabaster@gmail.com> --- Created attachment 46844 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46844&action=edit Bug 15468 - Search links on callnumber 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 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15468 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|3.22 |master Summary|Search links on callnumber |Search links on callnumbers |fails on opac results page |with parentheses fails on | |OPAC results page -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15468 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15468 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #46844|0 |1 is obsolete| | --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 46903 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46903&action=edit [SIGNED-OFF] 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 <oleonard@myacpl.org> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15468 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |minor -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15468 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gmcharlt@gmail.com |chloealabaster@gmail.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15468 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15468 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #46903|0 |1 is obsolete| | --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 46957 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46957&action=edit [PASSED QA] 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 <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> 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. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org