[Bug 9087] New: In Search.pl if there is parenthesis in itemcallnumber the link is broken
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9087 Bug ID: 9087 Summary: In Search.pl if there is parenthesis in itemcallnumber the link is broken Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching Assignee: gmcharlt@gmail.com Reporter: christophe.croullebois@biblibre.com The search with parenthesis in 'q=xxxxx(x)xx' raises an error message "Can't call method "sort" on an undefined value at /home/koha/src/C4/Search.pm line 404." The easier way to solve this problem is to put quotes for the query, q="xxxx(x)xx" -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9087 Christophe Croullebois <christophe.croullebois@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|gmcharlt@gmail.com |christophe.croullebois@bibl | |ibre.com --- Comment #1 from Christophe Croullebois <christophe.croullebois@biblibre.com> --- Created attachment 13458 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13458&action=edit proposed patch To test, do a search, in the search.pl, find a line with parenthesis in itemcallnumber eg: [EMP 133.620 (1) CCL.5294] and click on the link, without patch you'll have an error message. With the patch, the link is ok, an you can see the request as: cgi-bin/koha/catalogue/search.pl?idx=callnum&q="EMP 133.620 (1) CCL.5294" -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9087 Melia Meggs <melia@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |melia@bywatersolutions.com --- Comment #2 from Melia Meggs <melia@bywatersolutions.com> --- I wanted to test this, but I can't seem to reproduce that error message on master. I did a search for an item that has call number [AR EUch (Thu) 1974], but I don't get any error message when I click on it in the staff client or the OPAC. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9087 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle@bywatersolutions.com --- Comment #3 from Kyle M Hall <kyle@bywatersolutions.com> --- I too am unable to reproduce this on master. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9087 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |In Discussion CC| |chris@bigballofwax.co.nz Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9087 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |RESOLVED Resolution|--- |INVALID --- Comment #4 from Owen Leonard <oleonard@myacpl.org> --- I'm marking this invalid since it's been a year and no one has been able to reproduce. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org