http://cakephp.lighthouseapp.com/projects/42648/tickets/325-adding-paginator-sort-to-order-by-two-fields
although it does not seem to be a duplicate of the other tickets - two
different things...

On 28 Apr., 21:45, "Mr.Jayesh" <jayeshach...@gmail.com> wrote:
> Hi Mates,
>
> Am stuck at place where am not able to pass multiple order strings to
> pagination. I am using pagination and have done this in my controller:
>
> var $paginate = array(
>         'limit' => 15,
>         'order' => array(
>                         'Model.field' => 'desc',
>                         'Model.field' => 'desc')
>     );
>
> But the results is just working the first string and ignoring the
> second one.
>
> Please, anyone guide me, I think have mistaken somewhere. Am unable to
> get solution for this.
>
> Regards.

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to