[Koha-bugs] [Bug 15468] New: Search links on callnumber fails on opac results page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 5 11:36:39 CET 2016


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 at gmail.com
          Reporter: jefkoha at dias.ie
        QA Contact: testopia at 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%20ITS%20(43iii)

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.6205%20ITS%20(43iii)%22


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.


More information about the Koha-bugs mailing list