The current options form states:

If selected, users can enter multiple values in the form of 1+2+3. Due to the number of JOINs it would require, AND will be treated as OR with this filter.

.

But in some cases ANDing the input arguments is very much needed. And as we are dealing with a subquery in this case, we are able to implement it in a similar way. I came up with a solution that currently does not support the depth-modifier. I'll post it in the first comment.

CommentFileSizeAuthor
#1 tei_views_and_filter-1969530-1.patch4.96 KBderhasi

Comments

derhasi’s picture

StatusFileSize
new4.96 KB

And there it is.

I added an option to select if you really want to AND, so existing views do not break.

natemow’s picture

Issue summary: View changes

Great module and great patch! Between them I was able to use the Views contextual filter ("Taxonomy Entity Index: Has taxonomy term ID on Commerce Product (with depth and indexed in taxonomy_entity_index)") to return a list of product entities having all of the terms provided. Patch applied to beta7 release in my case.