Bugs with filtering paginated content on a page

The easiest way is to use a GET request instead of a POST by changing the method in your form and removing the check for POST request in your controller. There is absolutely no reason to send a POST request for this filtering stuff.

If you want to keep the POST request for some reason, you would have to perpetuate your filter data in a session cookie.

This works completely without Ajax or any other JavaScript.

1 Like