[Bug 5661] New: Authority search return an "Error 500" when "Sort by" is set to "No order"
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5661 Summary: Authority search return an "Error 500" when "Sort by" is set to "No order" Change sponsored?: --- Product: Koha Version: rel_3_2 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: Searching AssignedTo: gmcharlt@gmail.com ReportedBy: fcapovilla@live.ca QAContact: koha-bugs@lists.koha-community.org Estimated Hours: 0.0 Created attachment 3026 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3026 Proposed patch This error can be reproduced in two places : In authorities/authorities-home.pl : Do any authority search using "None" as a sort order. Error 500 is returned. In authorities/auth_finder.pl : ( When adding or modifying a MARC record, click on the "..." next to the 100$a field to do an authority search and get to this page. ) Do any authority search using "No order" for the "Sort by" field. Error 500 is returned. This happens because on line 267 of AuthoritiesMarc.pm, a "@or" is added to the query even when $orderstring is empty, which invalidates the query. Patch attached to fix the problem. Note : Because there was another bug affecting the way search queries are constructed ( Bug 4309 ) Error 500s might be caused by the number of search terms AND by this bug. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5661 Frédérick Capovilla <fcapovilla@live.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent Patch Status|--- |Needs Signoff -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5661 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Platform|PC |All Patch Status|Needs Signoff |Signed Off AssignedTo|gmcharlt@gmail.com |fcapovilla@live.ca OS/Version|Linux |All -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5661 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz Patch Status|Signed Off |Patch Pushed --- Comment #1 from Chris Cormack <chris@bigballofwax.co.nz> 2011-02-02 21:33:59 UTC --- Pushed, please test -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5661 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |julian.maurice@biblibre.com Resolution| |FIXED --- Comment #2 from MJ Ray (software.coop) <mjr@ttllp.co.uk> 2011-03-05 10:34:25 UTC --- This bug is mentioned in: Bug 5661 Fix a problem when doing an authority search with no sort order http://lists.koha-community.org/pipermail/koha-patches/2011-February/013744.... Bug 5661 Fix a problem when doing an authority search with no sort order http://lists.koha-community.org/pipermail/koha-patches/2011-February/013745.... -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org