Thursday, May 29, 2014

Re: Order using Containable-Behaviour on deeper levels (>1)

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 <frank@lamozik.de> 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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: