[Koha-bugs] [Bug 19565] New: Fix regular expression in _truncate_terms so field names are not split up

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 2 15:33:52 CET 2017


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

            Bug ID: 19565
           Summary: Fix regular expression in _truncate_terms so field
                    names are not split up
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: glasklas at gmail.com

The regular expression used for extraction search terms does not allow for
field names containing "." or "-". For example Control-number.raw:"123", would
be split up into: "Control-number." and "raw\"123\"". "Control-number:"123"
into "Control-", "number:\"123\"". The regular expression needs to be adjusted
to allow for certain valid characters ("." and "-" most importantly) in field
names.

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


More information about the Koha-bugs mailing list