]> git.koha-community.org Git - koha.git/commit
Bug 32252: Show number of results after facet selection
authorEric Garcia <cubingguy714@gmail.com>
Tue, 2 Jul 2024 15:13:39 +0000 (15:13 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 5 Jul 2024 13:48:12 +0000 (15:48 +0200)
commitdf65f2bbf329a632cc23250bf29975029a3627f7
tree4ef8f081cddaefd8216c520449785a6cc5ed06ec
parent3024b560c44650e38475d3c6e83cd7eee07e5b0d
Bug 32252: Show number of results after facet selection

To test:
1. In system preferences, set displayFacetCount to show.
2. Search catalog and select a facet.
3. Notice next to the facet it only shows [x], and not (n) the indicated number of results.
4. Apply patch.
5. Search catalog and select a facet.
6. Notice next to the facet it now shows (n) the indicated number of results and [x] to deselect the facet.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Mentored-by: ByWater Solutions
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc