Thanks. That was it....

On Mar 3, 12:05 pm, mscdex <[email protected]> wrote:
> On Mar 3, 10:15 am, foldiman <[email protected]> wrote:
>
> > $params = array(
> > 'conditions' => array('Music.inactive' => '0')
> > );
> > $this->set('musics', $this->Club->Music->find('list', array
> > ($params)));
>
> > However, the full list of items from the Musics table always appears
> > when I need only the entries with 'inactive' = 0.
>
> One guess is that you are enclosing the params array in another array.
> Try:
> $this->set('musics', $this->Club->Music->find('list', $params));
--~--~---------~--~----~------------~-------~--~----~
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