As far as I can see, you just forgot to set the order clause in
categoriescontroller:

Change:
'Blog.created DESC'
to
'order' => 'Blog.created DESC'

It must have been a slip of the keys, because in the BlogsController
you've done it the right way.

Gerben.


On 21 apr, 15:20, matlin <[EMAIL PROTECTED]> wrote:
> The BlogsController:http://bin.cakephp.org/view/616075649
> and the CategoriesController:http://bin.cakephp.org/view/1748048905
>
> Staring myself blind I think ... ;)
>
> On Apr 21, 1:44 am, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> > What is your current code?
>
> > On 21 apr, 00:26,matlin<[EMAIL PROTECTED]> wrote:
>
> > > A short question, does $hasMany honor the the 'order' directive?
>
> > > It doesn't seem to be so. To me. I can't get it to work anyway.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to