Bug 26009: Add facet size to home/holdingbranch
authorNick Clemens <nick@bywatersolutions.com>
Fri, 17 Jul 2020 16:23:42 +0000 (16:23 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 14 Aug 2020 22:16:58 +0000 (22:16 +0000)
commit18215fbc575c62d4f6410743fe82d199abd0c69f
treea35c453251c6bb7d71d973cb11e38a65f1c1541b
parent9d85636bf0db1350fb4f7e83e6cca2fcc0b1038b
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>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t