Taxonomy with Depth Views Filter has to respect selected vocabulary on Table Joins

Created on 13 May 2024, 8 months ago
Updated 17 July 2024, 5 months ago

Problem/Motivation

This relates to using "Content: Has taxonomy terms (with depth)" exposed filter setting on the view. There's an option to limit terms by vocabulary. This is not being accounted for in the query. So, when an exposed filter is not set to a specific term, for example, but instead is using "ALL" values, there could be returned unrelated results.

Steps to reproduce

Create a view of a content that has taxonomy reference fields on it. Add exposed filter "Content: Has taxonomy terms (with depth)".

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
TaxonomyΒ  β†’

Last updated about 1 hour ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @xjm
  • πŸ‡¬πŸ‡§United Kingdom @catch
Created by

πŸ‡ΊπŸ‡ΈUnited States veronicaSeveryn

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024