Add support for conditional exposed filters in views

Created on 21 September 2021, over 3 years ago
Updated 26 July 2023, over 1 year ago

Problem/Motivation

Please consider adding conditional exposed filters to this module. The idea has been tossed around over the years and implemented to various degrees but never got done after views ended up in Core.

An example of this would be:

"Departments within a Company" as one taxonomy (the parent)

and then the conditional response would be "teams within a department".

After selecting the department, you then could filter by the teams. Department A would show Department A teams instead of having to sort through Teams B-D that otherwise show up at once.

https://www.drupal.org/project/selective_better_exposed_filters β†’ submodule may or may not be related to this effort as well.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

6.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States laura.gates

Live updates comments and jobs are added and updated live.
  • views

    Involves, uses, or integrates with views. In Drupal 8 core, use the β€œVDC” tag instead.

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.

  • πŸ‡©πŸ‡ͺGermany Volker23

    I'd love to see a decent (dependent and/or conditional) filter feature in views!

  • Status changed to Closed: works as designed 12 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    So both modules here have good releases so would lean on that. Trying to put it all under this module could be overwhelming

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

    I'm working on converting all my facets to better exposed filters.

    I tried out views_dependent_filters and it didn't work at all for me. It looks like maybe it was good in D7. It's not a viable solution in D10/11.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Are you trying to the latest branch of facets? Know they went towards a more view integration

Production build 0.71.5 2024