Hello,
in my controller I set paginator options as follows:
$this->paginate = array('order'=>array('Dpayment.datavers'=>'asc',
'Dpayment.campaign_id'=>'asc', 'Dpayment.tpayment_id'=>'asc',
'payment_id'=>'asc'));
First page is ok,
but pages 2,3,+ do forget the order I set in the controller
ie: in page 2 Url I get:
"index/page:2/sort:Dpayment.datavers/direction:asc"
ignoring the other order parameters.
Is there a way just to put
page_id in url and drop any other variable? (so keeping the options from
$this->paginate
= array($options) I set the controller );
Thanks a lot.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.