Restrict displayed exposed filter options to actual, available results

Created on 14 June 2018, about 6 years ago
Updated 24 April 2024, 2 months ago

I was wondering if there already a way either within core views, or the BEF module, to restrict displayed exposed filters to only showing options pertinent to actual, available results.

Use case: I have a location taxonomy used in a filter to allow the user to show all of, for example, "restaurants, wine shops". The taxonomy also includes child options under restaurants for "burger places, italian, korean, and ethiopian". However, no korean or ethiopian restaurants have yet been added, so those two options shouldn't show up yet for users to filter by.

I found the views selective filters β†’ module - but it doesn't yet have a stable (or even alpha) d8 release, and there's no guarantee it will be compatible in use with BEF.

✨ Feature request
Status

Fixed

Version

6.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States W01F

Live updates comments and jobs are added and updated live.
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.69.0 2024