Views Active Search Terms
19 sites
No security coverage
This module displays active search terms from exposed filters within a view header or footer. It also integrates with Search API Facets to show active search terms from fulltext search fields as removable chips.
Works with both Drupal core Search exposed filters - displays active exposed filter search terms in a view header or footer - and Search API Facets - adding a facets summary item for the current active exposed search term(s) from a fulltext exposed search field.
Configuration
Views area plugin
- Open a view in the Views UI and navigate to the Header or Footer section.
- Add the Active search terms handler (listed under the Views Active Search Terms group).
- Configure the available options:
- Label: Text displayed before the search terms (optional).
- Search terms filter: The exposed fulltext filter whose value is displayed. Auto-detected from the view's filters when possible.
- Show clear link: Whether to display a link to remove the active search terms.
- Clear link label: Text used for the clear link (default: Clear).
VAST Facets Summary submodule
- Open a Facets Summary block configuration and enable the Show active search terms processor under Processor settings.
- Configure the label and the exposed filter identifier to match the view's exposed fulltext filter.
- The processor renders the active search terms as a removable chip, consistent with native facet chips. When a reset link is also enabled, it will clear both the active facets and the active search terms.