I have a basic view that works great. It shows a list of nodes that are filtered by content type.
To that list of allowed content types, I want to add a taxonomy term. That is, the view should show anything that is a certain special content type, but ALSO include any node that has a certain special taxonomy term, no matter what the content type is.
The view that already works fine has its filter setup this way:
FILTER CRITERIA:
Content: Content type (is one of: Blog, IM, PI)
Easy, no problem. To add the taxonomy term, I set it up this way:
FILTER CRITERIA
Content: Content type (is one of: Blog, IM, PI) OR Content: Has taxonomy term (= News Release) | Settings
Here's where it went all wrong on me. As soon as I added the taxonomy term filter, the items that should be there by Content Type completely disappeared. Only items with the taxonomy term show up in the view now. If I remove the taxonomy term filter, then items in the Content type pop back in again. It's like the taxonomy filter suppresses the content type filter in some way.
I tried:
- using
Content: Resource Type (= News Release) | Settings
which was an alternate way of listing the taxonomy, "Resource Type" being the vocabulary - using
AND
instead ofOR
but, as you would expect, that returned no results at all because I do not have any of the special three content types that are also labeled as the special taxonomy "News Item". They are separate use cases. using filter groups, listing the content type, an OR, and a content type AND taxonomy:
Content: Content type (is one of: Blog, IM, PI) OR Content: Content type (= Article) AND Content: Has taxonomy term (= News Release) | Settings
To be clear, either the node is a special content type OR the node is a regular content type with a special taxonomy term. Never both. Both types of nodes should appear side-by-side in this view.
Am I not allowed to make a view that shows stuff filtered by taxonomy alongside stuff filtered by content type at the same time? Can anyone suggest something for me to try?
AND
intoOR
in the query.