How can I get the paramaters passed to the url on the first submission?

All subsequent pagination requests (such as when I hit Next>>) display the 
proper url parameters like (/35/0/...):

.../Plans/search/35/0/0/0/97378/page:2

But on the first search results page, the parameters are not passed (but the 
results are correct), so the url looks like this:

.../Plans/search/

So when I try to do a sort on the first page:

<?php $this->Paginator->sort('Sort by Monthly Cost','monthly_cost');?>

The results are cleared because no parameters are present. But every 
subsequent page (starting at page:2) the sort works fine because the params 
are in the url.

I need to know how to pass the params to the url on the initial search.

I've been trying variations of this in the view:

$this->Paginator->options(array('url' => $this->passedArgs));

But I can't get them to pass..

Thanks for any advice that might guide me to the light.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to