Issues when using contextual filters in combination with facets_exposed_filters

Created on 5 March 2024, 9 months ago
Updated 6 March 2024, 9 months ago

I noticed a few issues when using facets_exposed_filters in combination with contextual filters in views.

#1 When there's a contextual filter defined in the view, but you DON'T pass an argument, everything works fine on normal requests. But when using ajax to filter the search_api view results. It passes an empty string argument to the first contextual filter, which makes the contextual filter validation fail. This one I've managed to solve myself and I will make an issue branch to add my code.

#2 When you DO pass an argument to the view, all the views_exposed_facet filters and options appear, while you would expect only the filter and options within the actual view results.

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇧🇪Belgium kensae

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024