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.
My facets are for a 2-tiered taxonomy, e.g.
- top level term
- sub term
- sub term
- top level term
- sub term
My content may be tagged with top level terms or sub terms. But I want the facets to only be top level terms. I don't want the sub terms to appear. It should only be possible to filter by top level terms and then the sub terms won't appear in the facets even though the results may be tagged with those sub terms. Is this possible?
Comments
Comment #1
FiNeX CreditAttribution: FiNeX commentedMoreover it could be interesting to move sub terms in a separate facet block. What do you think about?
Comment #2
vegardjo CreditAttribution: vegardjo commentedFor people finding this, see #2056099: Add a filter plugin to only show items from a specific depth