Hello,

i have taxonomy terms with child:

apple
   -round
   -tree
walnut
   -round
   -tree

in views i have "Content: Has taxonomy terms (with depth)"
in "Select terms from vocabulary games and types" i have selected everything, so the double named childs should be unique, but if i select "round" of apple i also get the walnut content.
Please advice.

Comments

John_B’s picture

You need to filter by tid, not by term. The to display the result as terms, you may need to create a relationship between the tid and the name - this depends on what exactly you are doing. The problem is that, as I recall, when selecting tids you no longer have the option to display the term with depth, so then the output becomes a list of terms, and you need some kind of hack to get back the tree display.

This is a problem area with views and you will probably need additional modules or a little custom code to achieve what you want. When I encountered a similar problem I concluded that there is no simple configuration within Views which can solve the issue quickly.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors