Bug 19575: Rebase and fix tests
authorroot <root@f1ebe1bec408>
Tue, 12 Feb 2019 21:52:39 +0000 (21:52 +0000)
committerroot <root@f1ebe1bec408>
Mon, 4 Mar 2019 18:25:49 +0000 (18:25 +0000)
commitc2061adc8be1a6843c0e082c18629f4a6b8fac78
tree09b845008d4067ff221cea407dae3634dce96691
parent6d53910f0ca05ae41b0d10ce6f3eb274efd3aca4
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>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t