]> git.koha-community.org Git - koha.git/commit
Bug 19481: Set default sort options as sortable in ES default mappings
authorNick Clemens <nick@bywatersolutions.com>
Wed, 18 Oct 2017 10:29:24 +0000 (10:29 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 26 Nov 2017 15:59:51 +0000 (12:59 -0300)
commit490ec51af6d5df6f62fb004655ae6e6f45abdfee
treef0606f83a4c264438a947f8a218166d0b431f6a7
parent7c78e4c97e258c829d09e2d48081efc065619651
Bug 19481: Set default sort options as sortable in ES default mappings

To test:
1 - Setup Koha with ES
2 - perform a search
3 - try sorting by pubdate, acqdate, popularity, or title
4 - Search fails!
5 - Apply patch
6 - visit:
/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1
7 - Re-index ES
8 - Perform search
9 - All sorting options should work

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>
admin/searchengine/elasticsearch/mappings.yaml