I don't explained very well. The POST to my action contain the fields and the conditions on which then I do the filtering. Now in the POST can be all possible fields and all possible conditions but it's not very good for my application and I would that some conditions are prohibited. I ask you how can I do in the best way.
On Feb 20, 2:04 pm, "Liebermann, Anja Carolin" <[email protected]> wrote: > Sorry i don't understand your problem. Why you don't leave out the field in > the conditions? How do you build your conditions? > > Anja > > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[email protected]] Im Auftrag > von [email protected] > Gesendet: Freitag, 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 better if I do the filtering on the conditions on a method of the model > or with a component where I pass the avoid fields to control in conditions? > Many Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
