[Koha-bugs] [Bug 22228] Elasticsearch - standalone colons should be escaped when performing a search
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 4 15:04:51 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22228
Björn Nylén <bjorn.nylen at ub.lu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #84568|0 |1
is obsolete| |
--- Comment #2 from Björn Nylén <bjorn.nylen at ub.lu.se> ---
Created attachment 85993
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85993&action=edit
Bug 22228: Escape lone colons and make sure term is balanced
Escapes unquoted colons that have whitespace on either side. Removed unbalanced
quotes.
Test plan:
1. Make sure the test case described in the bug works
2. Make sure tests pass:
prove t/Koha/SearchEngine/Elasticsearch/QueryBuilder.t
Signed-off-by: Björn Nylén <bjorn.nylen(at)ub.lu.se>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list