Since both the Posts and Comments have created field you probably need
to explicitly state which one you want to sort on.  If you turned
debugging to 2 I bet you would see the ambigious field name warning.

To correct,
'Post.created DESC'

Also, remember you can put the limit parameter in there as well.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to