A filter of type "list" (a list of links) gets lost when the filter is selected and after that a search term is given.
How to reproduce
- Create a search form with a filter of type "list"
- Filter by clicking on one of the filter options
- The page reloads
- Enter a search term and submit the form
The search is now executed again and it's searched for the the given search term. But the previously selected filter is lost.
When the filter type is switched to "dropdown" this works correctly, that means the search respects the previously selected filter and filters for both, the filter and the search term.
It also works as expected the other way round, that means first giving the search term and then clicking the filter.
A filter of type "list" (a list of links) gets lost when the filter is selected and after that a search term is given.
How to reproduce
The search is now executed again and it's searched for the the given search term. But the previously selected filter is lost.
When the filter type is switched to "dropdown" this works correctly, that means the search respects the previously selected filter and filters for both, the filter and the search term.
It also works as expected the other way round, that means first giving the search term and then clicking the filter.