Thanks a lot nate, will keep investigating .. Anyway actually I am not
trying to do something simple ..I can of course filter everything using
php code and so on ..but I'd like the beauty of cake doing the job :-)
Maybe I will create a "fake" HABTM table, but not this evening of
course..

Actually it'a an idea that can be used, I mean making a LEFT JOIN for
"special cases", using this (as id is never null) i could have a
condition such as "model2.id IS NOT NULL" ..

Thanks
Franck


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to