Filter your facet links by typing text, optionally showing only a limited number until you start filtering, and (if limiting the number) optionally providing a "Show all" button for people to browse all facet links without filtering.
BEF Links Filter module provides a Better Exposed Filters plugin that extends the Links plugin to add a text box for filtering the available facet links.
Features
Adds a filterable links filter for use in Better Exposed Filters.
Filtering your filters sounds redundant but it makes for the best experience using facets with lots of options in them.
Have thousands of mushroom recipes categorized by the 200-odd species of commonly eaten mushrooms and 200-some countries of origin? BEF Links Filter is your answer— take those more than four hundred facet links and make them manageable by giving people the ability to filter them down by typing a few letters at the top of each facet.
One person can type "alm" on the species facet to find the almond agaricus (Agaricus subrufescens) to filter that and "U" in the countries facet to be able to choose United States, and filter to find US-based almond agaricus recipes. Another person can type "tab" for the species to choose table mushroom and "vi" to easily select Vietnam for filtering to Vietnamese recipes using these umami-rich Agaricus bisporus mushrooms.
Post-Installation
- Enable BEF Links Filter module
- Configure a view to use Better Exposed Filters
- Choose "Filterable links" for one or more of your filters
Additional Requirements
Depends on Better Exposed Filters.
Recommended modules/libraries
Works best with Facets and Search API.
Similar projects
BEF Select is not working with the latest BEF and Facets yet, but could do a similar job in combination with a select form filtering JavaScript library / module like Tom Select.
Supporting this Module
You can support Agaric's overall contributions to Drupal and a bit beyond by supporting Drutopia at opencollective.com/drutopia. Thanks!!
Community Documentation
Documentation help gratefully accepted.
Project information
- Project categories: Content display, Site search, User engagement
- Ecosystem: Better Exposed Filters, Search API, Facets
- Created by mlncn on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.


