]> git.koha-community.org Git - koha.git/commit
Bug 26009: Add facet size to home/holdingbranch
authorNick Clemens <nick@bywatersolutions.com>
Fri, 17 Jul 2020 16:23:42 +0000 (16:23 +0000)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Sun, 16 Aug 2020 22:53:23 +0000 (10:53 +1200)
commite8e2afd195a47f3153019b6e6cbd017e994c50c0
tree40339b0bc5cca4274a8c86e29c9647fc674d0e4c
parent60adc95f52fff6ce84a7583eb4fb2b010e259ff7
Bug 26009: Add facet size to home/holdingbranch

To test:
0 - Set DisplayLibraryFacets to 'both' and FacetMaxCount to 20
1 - Have more than 10 branches
2 - Have items in each of those branches
3 - Enable ES, set system preference SearchEngine to Elasticsearch
4 - Search for '*'
5 - Expand homebranch/holdingbranch facets
6 - Note you only get 10
7 - Apply patch
8 - Repeat search
9 - Now you get all your facets

Signed-off-by: Michael Springer <mspringer@mylakelibrary.org>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 4dd1672c1b2f15e0b6be6071b6915c927c3a2ecc)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 18215fbc575c62d4f6410743fe82d199abd0c69f)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t