- Issue created by @k4v
- πΊπΈUnited States johnny5th
@k4v
I've run into the same thing. Based on the comment here https://www.drupal.org/project/facets/issues/3494590#comment-15915745 π Error on view after adding a Facet Exposed Filter Active I'm thinking this module hasn't been updated to handle facets as exposed filters, and they talked about the recommendation of just using non-facet exposed filters for the field. That's what i'm doing now, and it at least makes the view functional.
- πΊπΈUnited States simplyshipley
Here's a patch that I recently created for a project that I updated from Facets 3.0beta1 to Facets 3.0. It works for my simple implementation of exposing a relative date filter with 3 options. It needs some work on the Ajax for the config form to get it to dynamically add new relative date field sets using the "Add more" functionality. I spent some time trying to figure it out, but I there's a core bug in views forms that use Ajax where the incorrect config form gets passed, so it's not a straightforward task. I'll find the views core issue and add a link shortly.
I ended up just adding a new number field to the form to store the number of relative date range options needed. You just set the count then save and reopen the form and that number of field sets are available. I intend to create a MR for this issue, but I've not had the time to do so.
- πΊπΈUnited States simplyshipley
Removed the patch file I uploaded to the wrong issue.