Thanks. Ive already looked at the Hash::sort method.

But with that it is not possible to sort on multiple fields in priority. 
e.g. first "lastname" than "firstname" 

Or do I miss something?

Frank

Am Donnerstag, 29. Mai 2014 12:41:00 UTC+2 schrieb Jeremy Burns:
>
> Look at Hash::sort - 
> http://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::sort
>
> On 29 May 2014, at 11:28, LDSign <[email protected] <javascript:>> wrote:
>
> Hi
>
> This was discussed several times on the inet - it seems that it is not 
> possible to use an "orde"r on a deeper association connected with the 
> containable behaviour, because the behaviour splits the query in several 
> parts :(
>
> Whats the best approach to make sorting on deeper levels work with 
> containable?
>
> Ive found an older behaviour called "Linkable" which promised to fill this 
> gap, but unfortunatley it doesn't work with cake 2.5 :(
>
> Thanks for your input!
>
> Regards,
> Frank
>
> -- 
> 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] <javascript:>.
> To post to this group, send email to [email protected]<javascript:>
> .
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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/d/optout.

Reply via email to