Views contextual filters taxonomy name 2 fields using same vocabulary

Solutions

If I understand your question correctly, out of the box the easiest way is to add a Contextual Filter Content: Has Taxonomy Term Id. This one does not care whether you have 1 field or 20 that reference taxonomy terms. Further details within are whether you want to match from URL on term id or term name, etc.

I came across your question whilst seeking an answer to mine How to filter on taxonomy term but only match one field on the node, where two fields (primary and secondary) both use the same vocabulary which I think is different.

Tags: Drupal 7 / Views

Similar questions

Using Views' Contextual filters in a Panel for one taxonomy term
I have one taxonomy term, Country, which is linked to another, People. One people is from one country. How can I make a view in my Panel, using Contextual filters, in order to show the specific view I prepared for "Country" ? I tried to use contextual filters to do so, and it works when I use the preview with the Country ID - but not in Panels.
How to show different Views for the same URL with contextual filters
I have 1 View with contextual filter: /catalog/% % - is taxonomy term and it can be several terms (I use them for Porducts groups) like: Phones, Accesoiries, Tablets, etc. So, when Views get URL with Phones argument it show all its stuff on /catalog/phones page. Problem is, that I also want to have another Views for Tablets, which should have the s...
Views Contextual Filters - User Name in URL
I have a view set up to function as a blog, and a contextual filter set up to filter by author of the blog post. The point is to be able to click on the blog post author link and go to a page that lists all the blog posts by that person. This is facing anyone who visits the site, and any visitor (non-logged in) can view the blog listing of any of t...
How to filter on taxonomy term but only match one field on the node, where two fields (primary and secondary) both use the same vocabulary
Using Drupal 7 Views > Contextual Filter, how can I filter on taxonomy term but only match one field on the node, where two fields (primary and secondary) both use the same vocabulary? I have a vocabulary "Category" and I have organization nodes that can reference a category in either a Primary or Secondary field. The concept is that organizations ...
Views Filters: find nodes that have more than one term in taxonomy vocabulary
How can I set a filter to find nodes that have more than one term in a particular taxonomy vocabulary? Note: The vocabulary allow unlimited values and is required field. So, nodes can have 1-∞ terms.
Is it possible to have term permission vocabulary id's match taxonomy vocabulary id's when creating a feature
I am attempting to create a feature to be used in an install profile that exports a vocabulary and the permissions that are associated with the vocabulary. The problem that I am running into is that the vocabulary vid's on my development site do not match the vid's when running an install profile. Features exports the vocabulary and when imported t...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.