Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem
Steps to reproduce:
- Configure a facet for a hierarchical taxonomy vocabulary
- Exclude one item with depth > 0
Expected result: the item is hidden.
Actual result: the item is displayed.
Proposed resolution
Make sure the filtering logic is applied also to children items.
Comment | File | Size | Author |
---|---|---|---|
#2 | facteapi_bonus-2790885-2.patch | 935 bytes | plach |
Comments
Comment #2
plachThis seems to work here.
Comment #3
Bohus UlrychThank you for sharing. This piece of code (slightly adjusted) works for 7.x-1.2 as well.
Comment #5
joseph.olstadThanks!