Koha-clms/Koha/SearchEngine
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
..
Elasticsearch Bug 28826: Add FacetOrder system preference 2021-10-08 09:30:31 -04:00
Zebra Bug 28484: (QA follow-up) POD fix 2021-10-08 09:26:28 -04:00
Elasticsearch.pm Bug 22824: Fix ES reindex 2021-03-04 16:18:42 +01:00
Indexer.pm Bug 25265: Prevent double reindex of the same item in batchmod 2020-09-28 10:10:08 +02:00
QueryBuilder.pm Bug 12478: allow more granular sorting configuration 2016-04-26 20:20:08 +00:00
Search.pm Bug 23763: Create a pagination_bar routine 2021-02-08 17:09:32 +01:00