]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 25 Oct 2017 08:00:17 +0000 (10:00 +0200)
commit1edf743c90e45fc2812b535911f6324c72bf1d9b
treed5f7202519add78503fd53f3d4fe7766001f8e7a
parent31dcc7c7d5552d51c138fa37e789e248358673ff
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>
(cherry picked from commit 6426a82014aacd738dd94ca2ff1c9056af893d45)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm