I've implemented an action + view that lists all the rows in a database and allows you to paginate through them using zend_paginator. I've also written an action + view that takes a form post (or get), constructs a Solr query and returns a zend_paginator adapter to page through the results.
The problem I've got is working out how to paginate through my query after the postback, it's a relatively complex search form (8 fields to search on).
The options as far as I can see are:
- Move the parameters that are posted to a new url and redirect
- Write my own paginator that preserve query string parameters
- Serialize the results of the form post into a session and get it from there when paginating
Which of these is the most zend/php way of doing it - and, more importantly, quickest to implement? HELP!!!!! Thanks.