8+ Filter with multiple relationships

Created on 19 June 2023, about 1 year ago
Updated 23 August 2023, 10 months ago

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+?

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024