Re: How avoid some filter conditions

2009-02-20 Thread brian
you build your conditions? >> >> Anja >> >> -Ursprüngliche Nachricht- >> Von: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] Im Auftrag >> von marco.rizze...@gmail.com >> Gesendet: Freitag, 20. Februar 2009 11:45 >> An: Cak

Re: How avoid some filter conditions

2009-02-20 Thread Stu
Not sure if this is what you want, but for filtering purposes I like to use find. http://book.cakephp.org/view/449/find $groups = $this->Model->find('list', array( 'conditions'=>array('Model.field' => exempleValue), 'fields'=>array(

Re: How avoid some filter conditions

2009-02-20 Thread byqsri
Nachricht- > Von: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] Im Auftrag > von marco.rizze...@gmail.com > Gesendet: Freitag, 20. Februar 2009 11:45 > An: CakePHP > Betreff: How avoid some filter conditions > > Hi > I have this situation. > I have creat

AW: How avoid some filter conditions

2009-02-20 Thread Liebermann, Anja Carolin
reitag, 20. Februar 2009 11:45 An: CakePHP Betreff: How avoid some filter conditions Hi I have this situation. I have create an action in my controller where I can do search on a model (search on every field of my model). Now I have that I would that some field must be except from conditions. Is

How avoid some filter conditions

2009-02-20 Thread marco.rizze...@gmail.com
Hi I have this situation. I have create an action in my controller where I can do search on a model (search on every field of my model). Now I have that I would that some field must be except from conditions. Is better if I do the filtering on the conditions on a method of the model or with a com