Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By bojanz on
I have a view, and via arguments (or any other way) I would like to display a node that belongs in two specified taxonomies.
For example, I have two taxonomies:
a) Color, with terms Red, Blue, Green
b) Size with terms Small, Medium, Large
Ofcourse each node has one of the terms from each taxonomy assigned.
So, how would I display a node that has the terms Red and Medium assigned to it?
I tried to add two arguments of the same type, but that didn't work.
Thanks,
Bojan
Comments
Okay, here's the
Okay, here's the solution:
Use the Taxonomy: Term ID as the Argument;
Then you can do this: my_view/19+21+54 where 19, 21 and 54 are different terms.
Add Node:Distinct as a filter to avoid duplicates, and that's it.
Sorry, for talking to myself ;)
+1million for coming back and
+1million for coming back and sharing your solution!