Bug 18374: (QA follow-up) Simplify _truncate_terms
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 13 Oct 2017 09:53:04 +0000 (09:53 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 13 Oct 2017 16:57:47 +0000 (13:57 -0300)
commit6426a82014aacd738dd94ca2ff1c9056af893d45
tree65966ea2765da288f5a7b5b62b9d4095e2a148da
parentd099dc13bb4b9aa991caa0feaf24bed59c3c4844
Bug 18374: (QA follow-up) Simplify _truncate_terms

By using a different split regex, we can simplify a bit the process of
appending '*' to every word of the query

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm