That's closer but it still doesn't work right, it produces: /controller/action/page:2/param1/param2
Is there any way to get $paginator->next() to put the action parameters *before* the pagination parameters? On 1/25/07, nate <[EMAIL PROTECTED]> wrote: > > $paginator->next('Next>>', array('url' => $this->params['pass'])) > > On Jan 25, 10:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > I'm using the latest nightly build of 1.2 (2007.01.24) and I'm trying > > to use pagination to display some search results. The search > > parameters are specified as arguments to the action method like this: > > > > /controller/action/param1/param2 > > > > The first page of results comes up fine, but the link generated by > > $paginator->next() in the view is incorrect, it looks like this: > > > > /controller/action/page:2 > > > > I tried calling $paginator->next('Next>>', array('url' => > > $this->params['url']['url'])) but then I get the next link like this: > > > > /controller/action/page:2/controller/action/param1/param2 > > > > Does anyone know how to keep the parameters intact in the url so > > PaginatorHelper appends the pagination parameters appropriately? > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---