]> git.koha-community.org Git - koha.git/commit
Bug 19559: Add '-' to list of characters we don't split search terms on
authorNick Clemens <nick@bywatersolutions.com>
Wed, 1 Nov 2017 15:47:39 +0000 (15:47 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 26 Nov 2017 15:59:46 +0000 (12:59 -0300)
commita081ed16c0c3295253408f999354e6bbfa5fe183
tree2a552d5df821f166b5fc713379d5e934facfe951
parent26be355fe8c83a187a0cfbdae4f3a9e3b9ba8be9
Bug 19559: Add '-' to list of characters we don't split search terms on

Test plan assumes
QueryAutoTruncate = automatically
SearchEngine = Elasticsearch

To test:
0 - Apply Unit test patch only
1 - prove t/db_dependent/Koha_SearchEngine_Elasticsearch_Search.t
2 - Should fail
3 - Apply this patch
4 - prove t/db_dependent/Koha_SearchEngine_Elasticsearch_Search.t
5 - should pass
6 - search for 'Local-number:"4"' (or a vlid biblionumber)
7 - should get expected result

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>
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