[Bug 16863] New: Quotes around search term cause search failure if QueryAutoTruncate is not enabled.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16863 Bug ID: 16863 Summary: Quotes around search term cause search failure if QueryAutoTruncate is not enabled. Change sponsored?: --- Product: Koha Version: 3.22 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching Assignee: gmcharlt@gmail.com Reporter: barton@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org The following search will succedd if the system preference 'quryautotruncate' is set to 'always' but will fail if set to 'only if * is added'. http://intranet.bywatersolutions.com/cgi-bin/koha/catalogue/search.pl?q=%22T... This causes issues because call number links in the search results are quoted. To replicate: 1/ Set quryautotruncate to 'only if * is added'. 2/ Run a keyword search, with quotes around the title, e.g. "The Hobbit" Seearch will fail 3/ Set quryautotruncate to 'always' 4/ Re-run the same search. It will succeed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16863 --- Comment #1 from Barton Chittenden <barton@bywatersolutions.com> --- Additional notes: Running zebrasrv using the options "-v none,fatal,warn,request” yielded the following warning for the search "FIC Grisham" when queryautotruncate was enabled: WARNING: query problem with (rk=( callnum,ext,r1=" FIC Grisham " or callnum,phr,r3=" FIC Grisham " or callnum,wrdl,r6=" FIC Grisham " or callnum,wrdl,fuzzy,r8=" FIC Grisham " or callnum,wrdl,rt,r9=""fic? grisham"? ")) ZOOM error 10014 "CCL parsing error" (addinfo: "Embedded truncation not supported") from diag-set 'ZOOM' at /usr/share/koha/lib/C4/Search.pm line 378. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16863 Barton Chittenden <barton@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16863 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=18689 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16863 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I cannot replicate the problem, searches with quotes work for me with QueryAutoTruncate on and off. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16863 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- *** Bug 18294 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org