Hello,

I have a multi-level hierarchical taxonomy. In a block, I only want to display the top-level terms. Is there a way to do this with Views?

I couldn't find this in the documentation ... I did look, sorry!

Thanks!

Accepted answer

Nvm, I figured it out. Will document here for others.

Add a filter under "Filter Criteria" of "Taxonomy term: Parent term" and set the value to "less than" "1". I guess this means no parents, i.e. top level. :)

 

Comments

Nvm, I figured it out. Will document here for others.

Add a filter under "Filter Criteria" of "Taxonomy term: Parent term" and set the value to "less than" "1". I guess this means no parents, i.e. top level. :)