Bug 27035 was supposed to show the number of results in a facet after selection, but the old behavior persists, only showing [x] that the facet has been selected, not the (n) indicating the number of results. This screencast shows the results on the staff interface: https://watch.screencastify.com/v/rWbvqeBLY7hXTex8TekX
Hi Catrina, did you set displayFacetCount to show?
Yes, displayFacetCount = show
Confirmed on master. In the staff client the (n) will not show after making a selection, only the [x]. However, it does show the number after making a selection when searching in the OPAC. Ultimately, they should function the same.
Created attachment 168383 [details] [review] Bug 32252: Show number of results after facet selection To test: 1. In system preferences, set displatFacetCount 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.
Created attachment 168408 [details] [review] Bug 32252: Show number of results after facet selection To test: 1. In system preferences, set displatFacetCount 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>
Created attachment 168412 [details] [review] Bug 32252: Show number of results after facet selection To test: 1. In system preferences, set displatFacetCount 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
Pushed for 24.11! Well done everyone, thank you!