[Koha-bugs] [Bug 31841] Shelving location search in staff interface sometimes creates invalid Zebra query

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 8 01:06:30 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31841

--- Comment #21 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to David Cook from comment #3)
> In Master:
> 1) Turn off QueryAutoTruncate
> 2) Go to
> http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=GEN&idx=location
> 3) Note "No results found"
> 
> The problem is that QueryWeightFields adds a "phr" qualifier which is a
> problem since "location" doesn't have a phrase index defined...:
> 
> (rk=( location,ext,r1=" GEN " or location,phr,r3=" GEN " or
> location,wrdl,r6=" GEN " or location,wrdl,fuzzy,r8=" GEN " or
> location,wrdl,rt,r9=""gen"? "))

We have seen other problems like that.
We should add phrase search to all search fields to fix once and for all.

But for this cas, it disables autotruncation of location code, so its a good
fix.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list