Hello everyone.
I've ran into issue when using facets and views exposed filters together. The problem is that if I choose some facets first and afterwards I'll submit views exposed form - all the facets will be unchecked. (because facets get their values from the URL, and exposed form doesn't respect those parameters).
I wrote a small module to overcome this issue: http://drupal.org/sandbox/Soul88/1865682
And not sure what should I do next:
- make a patch out of this module?
if so: what module should I create a patch for? is my current solution ok?
- try to promote it to full project?
- anything else?
Comments
Comment #1
dasjomarking as duplicate of #1797616: Marry facets and Views exposed filters
Comment #2
soul88That's not a duplicate. The linked issue is aimed to explain to facetapi the format of exposed filters
Mine is aimed to tell to the exposed filters form that there are already some facets or sorts were chosen with the help of facets blocks and these options shouldn't automatically disappear when user submits views exposed form.
Comment #3
cpliakas commentedComment #4
damienmckennaThe sandbox doesn't quite work - it needs to get a list of views that have exposed filters and make a list of them, right now it only allows you to control what's already in the variable, which is empty by default. Still, this would be great when it works :)
Comment #5
damienmckennaFYI there's an issue with some code to turn into a patch that might be worth trying too: #2378945: Facets are lost by Views on keyword search