Re: 1.3 Pagination: disable default ordering...
you want 1,5,3,4,2?
but that must be some sort of order, right?
you would simply order by something else then...
On 12 Okt., 22:31, tricky999 <param3...@googlemail.com> wrote:
> > And you can override that in a controller action by changing
> > $this->paginate['order'] before calling $this->paginate().
>
> But that is not what I want to do. I want the order of the $result
> array to be preserved. At present if I specify 'Model.field'=>'ASC',
> then I will get 1,2,3,4,5 rather than 1,5,3,4,2 , which is what I am
> after.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home