Taxonomy Hierarchy Views Argument
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Provides a views contextual filter (argument) that takes a taxonomy term id and sorts (and optionally filters) the matching results in order of their taxonomical relevance (first direct matches, then parent terms, child terms, and finally sibling terms).
If displaying a view of nodes, first add a relationship to a taxonomy term, and then you can add this argument using that relationship.
An example use case would be that you would like to display content related to a node on the basis of taxonomy. You don't always have much content that has the same term and you want something related to display. Your taxonomy vocabulary is hierarchical. So you can display a view sorted by direct taxonomy matches followed by parent terms, child terms, then sibling terms.
Created by Zivtech for DoSomething.org
