Hi. Thanks for writing this module. Checkboxes are really handy for my use case.

One problem though is that when no checkboxes are selected, it can be impossible to apply the filter, due to the way Views is designed. More on this topic can be found on this thread.

A Views plugin that would change the exposed filters form request method to "POST" would be a fantastic addition to BEF, not only would the issue above disappear, but all the following would be true:

1) The URL would be kept clean.
2) The URL could be used for other things.
3) Blank filters would no longer be an issue.
4) It would be possible to create multiple exposed filters on one page (without using AJAX).

Please let me know if you're interested in including this functionality. If so, I can probably help to write it. If not, I'd like to ask the Views Hacks project if they'd like to have it.

Thanks!

Comments

mikeker’s picture

Sorry for the delayed reply... I just read through the Views issue you mentioned and I agree that rewiring exposed filters/sorts/etc. through a POST would be cleaner solution. I need to look into this further to see how complicated this would be and what impact it would have on the recently added Links option.

Patches (and even partial solutions) are always welcome!

avisconti’s picture

Issue summary: View changes

The Views ExPost module might fix this issue. From the module's page: "If you need BEF on your website, it is totally possible to use both these modules together! The Views ExPost will automatically provide all features from BEF if it's enabled! Simply put: If BEF is enabled, the ExPost plugin will extend the plugin from BEF". I've successfully used BEF + Views ExPost on my site.

mikeker’s picture

Status: Active » Closed (won't fix)

Closing based on #2. Thank you @avisconti for posting about your solution!

If Views ExPost does not actually solve the problem, please reactivate this issue.