On a taxonomy term's page, how can I display all media that references that taxonomy term and all its descendents?

Specifically, I have a "location" field on my media items. Here is an example excerpt from my Location vocabulary:

Asia
--Indonesia
----Bali
------Padangbai

Media items may be tagged at all levels of that vocabulary, for example some might just be "Indonesia", and others might be "Padangbai". So in this example I would like the taxonomy term page for Asia to show all media tagged with Asia and any of its sub-locations. The maximum taxonomy depth would be 5 levels.

I was able to make a View of media that references a taxonomy term and its immediate children, described here. But it's only 1 level.

Comments

olivier.br’s picture

For those with the same kind of issue. 

Here is a related issue on drupal core : Views should support - Entity: Has taxonomy term ID (with depth) - for entities

And here is a module to solve that with media entities : Views: Media taxonomy filter