Re: Master Filter for HABTM-Relationships

2009-09-15 Thread Marco
This brought the solution: http://bakery.cakephp.org/articles/view/quick-tip-doing-ad-hoc-joins-in-model-find Marco --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email

Master Filter for HABTM-Relationships

2009-09-14 Thread Marco
Hi guys, i'm using some HABTM-relationships between models, from whom one is an adaptation model. By switching the adaptation i want to set a kind of master filter for example in beforeFilter of app_controller.php. But i always receive a sql error because the adaptation code column isn't part of