[Koha-bugs] [Bug 20529] New: Return to results link is truncated when the search contains a double quote

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 5 17:41:28 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20529

            Bug ID: 20529
           Summary: Return to results link is truncated when the search
                    contains a double quote
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Staff Client
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: victor.grousset at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

== Reproduce ==
1. Search in the staff catalogue «a "alice"»
     Replace a and alice with whatever than will return a result.
2. Click on the first result
3. Check the "Return to results"
     It should be like
     staff_url://cgi-bin/koha/catalogue/search.pl?idx=kw&q=a
     This is the bug. Because when clicking the link, your search will be
     'kw,wrdl: a'
     instead of
     'kw,wrdl: a "alice"'

== Cause ==

Something about escaping in koha-tmpl/intranet-tmpl/js/browser.js
Search for BROWSER_RETURN_TO_SEARCH

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list