Staff catalog facets "show less" has incorrect count
Bug #2046974 reported by
Andrea Neiman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.11 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
3.12.0 ; 3.11.2
Follow up from bug 1934018.
The new staff catalog facets have a "Less" link to show fewer facets; however, when hovering over the "Less" link, the description is always "Show 5" even if there are fewer than 5 results
Similarly, the "More" link always displays even if there are not more options to be shown in the facets.
These links should be context aware, with counts, if possible.
Changed in evergreen: | |
status: | New → Confirmed |
Changed in evergreen: | |
importance: | Undecided → Medium |
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
milestone: | none → 3.12.3 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here's a branch that hides the "more"/"less" button if the facet has 5 or fewer links: https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ sleary/ LP2046974- facet-more- link-count