Scott Sharkey wrote:
> nate wrote:
>
>>If Artwork belongsTo Artist, then reciprocally, Artist should hasMany
>> (haveMany?) Artwork. Then, you can do the find on $this->Artist
>>instead.
>
> Yes, Artist hasMany Artwork, so are you saying I can do:
>
> $this->Artist->findAllByCategory('xxx',null,'Artist.sortorder ASC')
>
> ???
>
> And it will work? I'll give it a try...
Hi Nate - that (above) definitely does not work (Artist.category
undefined). I am thinking I'm gonna have to do my own Query, on the
joined table. Thanks.
-Scott
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---