searchNavigator control multi-selection filter disregards searched term
ID:
Backlog
Published on 8/29/2017
•
Last update on 12/22/2022
Summary
Warning: VTEX has two search options - VTEX search and VTEX Intelligent Search. This article refers to the VTEX search. To learn more about the VTEX Intelligent Search application, see this track.
When a user searches for a term and thereafter applies a filter to the multi-selection options (in the searchNavigator control), the searched term is initially removed from the query, meaning that the filter ignores the term and performs the search query only by considering the options chosen by the user.

Simulation
To simulate this scenario:
- Configure the searchNavigator control in a template that has the searchResult control (Search, Department, Category, etc). Read more on controls by clicking here
- Through CSS, leave the multi-selection option for HTML rendering through control available
- Access the site and search for a term that contains products
- In the filter multi-selection options (searchNavigator), choose an option (Brand, Category, Specs) and click on the button to apply the filters
- Done! After applying the filter, the searched term is initially removed from the context and the search is only processed with the selected filter
Workaround
TO avoid this scenario, don't use the multi-selection searchNavigator control filters.