Problem/Motivation

I have a filter set up using a taxonomy entity reference. The list works fine, but some of the taxonomy terms are used more than once to include options. The options come from another table, using a relationship.

Entityreference Source List

Taxonomy Term 1 - [relationship: term_option_field] Option 1
Taxonomy Term 2 - [relationship: term_option_field] Option 2
Taxonomy Term 2 - [relationship: term_option_field] Option 3
Taxonomy Term 3 - [relationship: term_option_field] Option 4
Taxonomy Term 4 - [relationship: term_option_field] Option 5

The ER list looks fine on its own, but when I pull it into the parent view, only line is appearing for each taxonomy term.

Entityreference Filter in Parent View:

Taxonomy Term 1 - [relationship: term_option_field] Option 1
Taxonomy Term 2 - [relationship: term_option_field] Option 2
Taxonomy Term 3 - [relationship: term_option_field] Option 4
Taxonomy Term 4 - [relationship: term_option_field] Option 5

The filter is taking the first instance in the list for each taxonomy term and removing the rest.

This seems to be a carry over from Drupal7 issue Exposed Filter with Multiple Relationships (2502485). Contextual filters won't give me the results I need.

Can this be fixed in 8.X+?

Comments

tonka67 created an issue. See original summary.

tonka67’s picture

Title: Filter does not recognize variations on the same term » 8+ Filter with multiple relationships
maximkashuba’s picture

Version: 8.x-1.x-dev » 2.0.x-dev

The issue will be checked in 2.0.x branch.