I have a page with a form that contains five selects (drop-down lists) which filter my set of data, and at bottom has pagination (Zend_Paginator) . My Form which has get method is submited each time a select change its value and I want that my page number to be reset to first page.
At this moment when the form is submited the page remain unchanged (current page) because it is contained in the URL and I do not know how to modify it after submit.
My url is something like this:
.../controller/action/page/2?sec=3&subsec=10&subbus=17&act=all&subact=all
Any ideas how can I do something like this?
If you want to avoid the page parameters from the url itself, you can build your form action without the page parameter.
Or, you can modify the paginator variable to point to page 1.