I did that and it worked to some effect. I am currently working on a way to get around the problem but I hope that in time this feature will be added to Containable behaviour.
Regards On Feb 2, 10:15 am, Jeremy Burns | Class Outfit <[email protected]> wrote: > Don't forget you can use 'joins' that can give you the results you want. It's > just a bit more fiddly. > > Jeremy Burns > Class Outfit > > [email protected]http://www.classoutfit.com > > On 2 Feb 2011, at 07:13, Name256 wrote: > > > > > > > > > This would be nice as well. I'm just kind of in a dilemma on my > > current project where I am having problems getting desired results > > while using containable behaviour. I hope that this change will be > > effected on future versoins of CakePHP or it is atleast being > > considered because there are those times that conditions on the > > hasMany or HABTM side will affect the results of an entire query. > > > Kind regards. > > Abel > > > On Feb 2, 9:55 am, Jeremy Burns | Class Outfit > > <[email protected]> wrote: > >> I think an option to turn this on or off inside the 'contain' element > >> would be fantastic. > > >> Jeremy Burns > >> Class Outfit > > >> [email protected]http://www.classoutfit.com > > >> On 2 Feb 2011, at 06:52, Name256 wrote: > > >>> Fantastic news. I was wondering whether there were going to be any > >>> changes made to the containable behaviour in the results returned from > >>> queries where filters applied to child models can be strictly applied > >>> to the parent model as well to endure that data is filtered > >>> accordingly (I am aware that containable is designed to filter data i > >>> related models only and not the parent model of the query). > > >>> Kind regards. > > >>> Abel > > >>> -- > >>> Our newest site for the community: CakePHP Video > >>> Tutorialshttp://tv.cakephp.org > >>> Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp > >>> others with their CakePHP related questions. > > >>> To unsubscribe from this group, send email to > >>> [email protected] For more options, visit this group > >>> athttp://groups.google.com/group/cake-php > > > -- > > Our newest site for the community: CakePHP Video > > Tutorialshttp://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > [email protected] For more options, visit this group > > athttp://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
