Bug 20244: Add alt script indexing and fix sort field indexing
authorEre Maijala <ere.maijala@helsinki.fi>
Mon, 2 Jul 2018 13:04:05 +0000 (16:04 +0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 16 Nov 2018 11:27:22 +0000 (11:27 +0000)
commitaece4f62ea6c37b0dafa9584038571d0a2d49e43
treeea65f92e5bfd51adad293d2f9151422db902c783
parent5a0f2821a2ff104781c1ff05a80957720ae46c43
Bug 20244: Add alt script indexing and fix sort field indexing

https://bugs.koha-community.org/show_bug.cgi?id=20244

Test plan:

1. Add a record with alternate script fields in 880 (sample attached in the bug).
2. Make sure the the record can be found e.g. with the alternate script title.
3. Add a record with multiple authors.
4. Check that in the index there is only a single author__sort field.

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/SearchEngine/Elasticsearch.pm
t/Koha/SearchEngine/Elasticsearch.t