As an experiment, I downloaded a fresh copy of Cake 1.2 and added only
the scripts above. I wanted to confirm that this was not a problem
caused by my existing site's configuration. The new installation
produced identical results, so there must be something wrong with the
approach. Maybe I'm just overlooking something obvious...
- 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 [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