This modules allows you to set the exposed filters forms in views to use method POST instead of GET.

Why?

To be honest, there aren't many cases where you would need that, but here are the main 2:

  • Even after filtering, the URL will still look nice to the end-user.
  • At some point, the query string in the URL might become so long, that it exceeds the URL limit set by the server. This module provides a solution for this issue.

Integration with better_exposed_filters (BEF)

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 :)

**NOTE**: There is currently a little issue with dynamically extending BEF. So right now, BEF is a dependency for this module.

How to

  1. After enabling the module, go to the View you would like to edit
  2. Change the "Exposed form style" setting in the View to "ExPost form"
  3. Enable "POST" form method in the settings pane

Watch out!

Using method POST for exposed filters means that users will NOT be able to bookmark their filter results.

ExPost is also not fully stable with multiple pagers on the same page

Initial D7 version was sponsored by and developed in Vardot.

Vardot

Supporting organizations: 

Project information

Releases