nate wrote: > Oh, sorry, I missed that. > > Try $this->Artist->Artwork->findAllByCategory('xxx', array('DISTINCT > Artist.id', 'other', 'fields', 'here'), 'Artist.sortorder ASC'));
Nate: that works, sorta <grin>. Thanks. If I pull in a Related field (like Artwork.filename) it duplicates all over again, but I realize that I can do what I'm trying to do a different way, which is actually better because it moves more logic from the view to the controller. Hence, it's probably the way I should have done it in the first place... 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 cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---