[Koha-bugs] [Bug 25963] New: Koha converts ":" to "=" in search terms for Zebra which causes search to fail
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 9 06:06:18 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25963
Bug ID: 25963
Summary: Koha converts ":" to "=" in search terms for Zebra
which causes search to fail
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Searching - Zebra
Assignee: koha-bugs at lists.koha-community.org
Reporter: dcook at prosentient.com.au
Koha changes : to = because Zebra uses = to separate indexes from search terms,
but this is problematic, because it transforms all colons.
For instance, "title : subtitle" will become "title = subtitle" and that will
cause a Zebra error.
Here's the bug removed:
buildQuery
eb6b10f8 (Chris Nighswonger 2010-02-01 23:18:09 -0500 1768) # $query =~
s/:/=/g;
Here's the bug re-introduced.
getRecords
08c15831 (Joe Atzberger 2009-07-08 15:27:45 -0500 381) $query_to_use =~
s/\:/\=/g; # change : to = last minute (FIXME)
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list