[Koha-bugs] [Bug 25900] New: Double quotes breaks search with Zebra and QueryWeightFields
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 30 13:50:20 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25900
Bug ID: 25900
Summary: Double quotes breaks search with Zebra and
QueryWeightFields
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Searching - Zebra
Assignee: koha-bugs at lists.koha-community.org
Reporter: fridolin.somers at biblibre.com
Search with Zebra and system preference QueryWeightFields on builds a query
with surrounding double quotes : q=tree => q="tree". Therefore existing double
quotes are replaced by a space : q="tree" => q=" tree ".
Looks like the leading space breaks the search, 0 results.
Experimented on Ubuntu Xenial and Bionic with Indexdata repository so Zebra
version is 2.1.4. It might be specific to this version.
You can reproduce with direct CCL query (regardless QueryWeightFields) :
https://demo.biblibre.com/cgi-bin/koha/opac-search.pl?idx=&q=ccl%3Dti%2Cphr%3D%22centre+arch%C3%A9ologique%22
https://demo.biblibre.com/cgi-bin/koha/opac-search.pl?idx=&q=ccl%3Dti%2Cphr%3D%22+centre+arch%C3%A9ologique%22
--
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