2

I want to create a taxonomy view, which only displays terms that belong to a certain parent.

However, the "Term ID with depth" filter that appears in a normal view seems to be missing in the Term View type.

Any ideas how I might go about achieveing this?

2 Answers 2

3

just add a relationship for "Taxonomy term: Parent term" and select "require this relationship". Then add a contextual filter for termID, select "parent" as the relationship and select a fixed value of the parentID.

You can also do it without using relationships. Just add a contextual filter for "Taxonomy term: Parent term" and provide a fixed value for the parent term.

0

in drupal 8 (maybe also in late versions of drupal 7) there is a regular filter "Filter the results of "Taxonomy: Term" by the parent pid." that will allow you to enter the TID and will filter only children of this term

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.