Prepare for core allowing multiple taxonomy vocabularies on exposed filter

Created on 17 June 2021, over 3 years ago
Updated 12 September 2024, 3 months ago

Problem/Motivation

There's a core issue related to allowing an exposed taxonomy filter to use terms from multiple vocabularies ( https://www.drupal.org/project/drupal/issues/2784233 ✨ Allow multiple vocabularies in the taxonomy filter Needs work ). This issue is currently set at RTBC.

When the RTBC patch is applied (#193), the core default exposed widget (select list) works with multiple vocabularies. However, the better_exposed_filter widgets do not work when a taxonomy filter is using multiple vocabularies.

Steps to reproduce

1. Apply the patch from the referenced issue.
2. Configure an exposed taxonomy term filter to show terms from multiple vocabularies.
3. Configure the exposed filter to use the Radio/Checkboxes plugin.
4. Note that when rendered, the exposed filter uses the index of the radio element as the value instead of using the term's target id as the value.

Proposed resolution

I think that the bef community needs to keep an eye on the referenced issue, maybe with the goal of quickly adding support once that issue is marked fixed.

Remaining tasks

Come up with a plan.

User interface changes

TBD

API changes

TBD

Data model changes

TBD

🌱 Plan
Status

Postponed

Version

7.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States danflanagan8 St. Louis, US

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024