Add this to the top of the relevant view:
$q = $_GET; unset($q['url']);
if (!empty($q)) {
$paginator->options(array('url'=>array('?' => $q)));
}
On Oct 19, 12:32 pm, Alex Seim <[email protected]> wrote:
> I would like to know if there is a way to preserve variables passed
> via form type='get' along with using the pagination. Currently, using
> the pagination helper, when sorting/browsing, get variables disappear.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---