I have a View with one contextual filter, a taxonomy field. Entering a single value works as expected: the results are filtered by the taxonomy term ID.

The requirement is to allow an AND combination of terms: The argument 69,78 should only show nodes that have both tags.

"Allow multiple values" is selected:

enter image description here

However both 69,78 and 69+78 result in the same query that uses an IN clause:

... WHERE ((node__field_tags.field_tags_target_id IN('69', '78'))) ...

The view has no relationships. The query is set to use DISTINCT. Am I missing something?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.