Filter identifier doesn't work for grouped taxonomy filter

Created on 14 August 2024, 4 months ago

Problem/Motivation

If the filter identifier for a taxonomy grouped filter is changed, the filter won't work.

Steps to reproduce

  1. Create a view
  2. Create a filter using taxonomy terms
  3. Set this filter as grouped
  4. Change the Filter Identifier

Proposed resolution

Include a condition on \Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid::validateExposed to get the identifier when the filter is a group.

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Taxonomy 

Last updated 2 days ago

  • Maintained by
  • 🇺🇸United States @xjm
  • 🇬🇧United Kingdom @catch
Created by

🇧🇷Brazil mariosr Hortolândia

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