On Wed, Jul 16, 2008 at 2:10 AM, new2cake <[EMAIL PROTECTED]> wrote:
>
> Is there any way I can order the Comments listing by a field in the
> Post table?
>

That doesn't make much sense, SQL-wise Before trying that with
CakePHP, have you attempted it with straight SQL? I don't think you'd
get far with that.

Try ordering by Comments.post_id (or whatever foreign key points to
the posts table).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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