Hmmm... that seems to yield the same results (no Shift data). Also I
tried adding containable to the Sale and Shift models but that didn't
seem to make any difference. Any other ideas? Is there some other
method to achieve the desired result?

Thanks again!
Scott

On Oct 12, 5:44 pm, francky06l <[EMAIL PROTECTED]> wrote:
> After reading again the post
>
> $this->find('all', array(
>         'contain' => array(
>                 'Department', 'Sale' => 'Shift(closed)'),
>         'fields' => array('Log.cost')
>         ),
> );
>
> Hope this works, I did not catch all relations at first glance, you
> might also use the containable behaviors in the Sale / Departement
> model ..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to