I’ve implemented a form filter to filter a GridView dataprovider, that some time can have a lot of fields. Bearing this in mind, GET method is not supported to me because I can receive something like from Apache/Nginx:
So, when I click in any pagination link, I lost the POST data. How to keep my filter without change my HTTP method?!
I saw some approaches using Pjax, something like this:
Since I am not using a regular filter (it is a dynamic filter that I’ve created), I do not use the $model->load method. I used to use somethiing like the following: