Friday, November 26, 2010

Re: Want generatetreelist() results in alphabetical order

On Nov 22, 1:09 am, AD7six <andydawso...@gmail.com> wrote:

>
> I'd recommend looking at the reorder method, which'll do what you want
> to the data itself, unless you're wanting to sort by a different
> field.
>
> http://api.cakephp.org/view_source/tree-behavior/#l-628

Thanks, reorder() was in fact the first thing I tried. It did not
reorder all the nodes as I desired, and as my solution in this thread
does. Can't remember why.

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

No comments: