The "Allow Multiple Selections" option creates an INNER JOIN that leaves out the "entity_type" field.
When there is a similar tid with the entity type of "node" it returns the entity_id as a users.uid.
This results in a user that is does not have this term set to be included in the resulting view.

Attached is a JPG of the Filter Criteria, the data, table structure, the term/field filter criterion and the resulting SQL.

CommentFileSizeAuthor
SQLissues.jpg780.08 KBstevecory
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

azinck’s picture

Issue summary: View changes

I think this is a dupe of [#2214601] though I can't reproduce the difference you're seeing between "allow multiple" and single selections. I see the bug in either case.

azinck’s picture

Ok, it appears the extra criteria get correctly added to the join only if the filter operator is set to "is one of". I'm still not seeing any difference when using "allow multiple" vs. not using "allow multiple".