]> git.koha-community.org Git - koha.git/commit
Bug 5651: Question marks break searches w/ICU
authorJared Camins-Esakov <jcamins@bywatersolutions.com>
Tue, 5 Apr 2011 13:48:03 +0000 (15:48 +0200)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 11 Apr 2011 19:48:19 +0000 (15:48 -0400)
commitd5cb87cf76d46b2fd066fd96f86677947be96fe6
treefddbea6ef8f67f3f50f748717958aeda3462e9c2
parentecfab4b571aac5bd2a5ea862bb00284efb953301
Bug 5651: Question marks break searches w/ICU

When a user is doing a simple keyword search, they should not be expected to
deal with the magical behavior of question marks in Zebra. This fix escapes
question marks, and reduces the number of false positives for identifying a
"simple keyword search."

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit ad206a73f867f6a184f64d41e4ccfa8e5bb0cd21)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Search.pm