Bug 19575: Rebase and fix tests
authorroot <root@f1ebe1bec408>
Tue, 12 Feb 2019 21:52:39 +0000 (21:52 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 5 Mar 2019 14:51:27 +0000 (14:51 +0000)
commitce578a9aca25d2e57c0f419f2abd0a3297faebdf
treededca8fa609e6f50054c853d471d76991b0aa7c8
parent68b129e0c4fc52e953a10ad7f769a79f3498b769
Bug 19575: Rebase and fix tests

This patch lower cases the sort by fields to normalize checking them and adjusts
some existing tests to meet the new expectations.

The regex for splitting terms has been moved into a subroutine so that adjustment was made

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit c2061adc8be1a6843c0e082c18629f4a6b8fac78)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t