[Bug 16483] New: Ampersand breaks search for analytics
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16483 Bug ID: 16483 Summary: Ampersand breaks search for analytics Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching Assignee: gmcharlt@gmail.com Reporter: magnus@libriotech.no QA Contact: testopia@bugs.koha-community.org A customer has reported the following problem: A journal is catalogued with separate records for each issue. The journal has an ampersand in the title, let's call it "This & that". Each issue has 245$a like "This & that 2011-1", "This & that 2011-2" and so on. For each issue, there are analytical records. Now, when you are on the detail view of one of the issues in the staff client (<intranet>/cgi-bin/koha/catalogue/detail.pl?biblionumber=12657) and click on "Show analytics", you get results from all issues of the journal, not just the one you wanted. The URL you are taken to looks like this: <intranet>/cgi-bin/koha/catalogue/search.pl?q=Host-item:This & that 2011-3. Above the search results it says: 14 result(s) found for 'Host-item:This ' in MyLibrary Catalog. Note that the title has been cut before the ampersand. It is possible to tweak the search URL (remove the ampersand) and get the expected results. Changing the URL to this: <intranet>/cgi-bin/koha/catalogue/search.pl?q=Host-item:This that 2011-3. gives this: 8 result(s) found for 'Host-item:This that 2011-3.' in MyLibrary Catalog. The same thing happens in the OPAC. I guess a workaround will be to enable UseControlNumber and follow the descriptions here: https://wiki.koha-community.org/wiki/Analytics -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16483 Feli Kramer <feli@interkatz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gmcharlt@gmail.com |feli@interkatz.de CC| |feli@interkatz.de -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16483 Feli Kramer <feli@interkatz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|feli@interkatz.de |koha-bugs@lists.koha-commun | |ity.org -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16483 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I believe this to be fixed with the use of str:encode-uri in the XSLT files now. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org