Koha-clms/Koha/SearchEngine/Elasticsearch
Nick Clemens ef40ba17ae Bug 28826: Add FacetOrder system preference
This bug adds a system preference to control ordering of facets and
adds the control to both Zebra and Elasticsearch

To test:
1 - Have a koha that can use both Zebra and ES
2 - Set 'displayFacetCount' to true
3 - Search in ES and Zebra
4 - Note facets in Zebra sorted alphabetically, ES by usage
5 - Apply patch, updatedatabase
6 - Search in ES and Zebra, facets are alphabetically sorted in both
7 - Find new syspref FacetOrder and set to 'by usage'
8 - Search in both engines, facets sorted by usage

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2021-10-08 09:30:31 -04:00
..
Browse.pm Bug 24823: Remove unused parameters 2020-05-12 11:43:30 +01:00
Indexer.pm Bug 26312: (follow-up) Fix passing of exception messages 2021-04-16 11:48:31 +02:00
QueryBuilder.pm Bug 28316: (QA follow-up) Make clean_search_term public 2021-10-01 14:15:27 -04:00
Search.pm Bug 28826: Add FacetOrder system preference 2021-10-08 09:30:31 -04:00