[Koha-bugs] [Bug 28316] Fix ES crashes related to various punctuation characters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Aug 22 01:57:20 CEST 2021


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

--- Comment #77 from Andrew Nugged <nugged at gmail.com> ---
Tricks with colons:
======================

colons in Koha expected to separate search field and search value,
so "title:good" should search word "good" only in "titles",

but if you will use "some : like this" form, when copypasting from usual
combined
book names we often have, current code removed colons at all from the text, if
colon has the space at any side, but there was forgotten trailing ":" removal,
i.e. ES failed without patch if to search:
    Books:

also, some fuzziness added, for example, if you rename any book to have "23:59"
in the name, then will search with an old code for:

    title:23:59

it will die ("yellow error box"),
but with the patch, it will find, as this transformed by the patch to:

    title:23\:59

i.e. there every next semicolon after first in the term preslashed.

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


More information about the Koha-bugs mailing list