Thank you Jaydeep. Now how do I do the same for a HABTM ? It is not joined in the query by default.
On 27 jul, 05:25, Jaydeep Dave <[email protected]> wrote: > try: > > $this->paginate['conditions'] = array( > 'OR' => array ( > 'User.name IS' => 'NULL', > 'Recipe.id IS' => ' NULL' > ) > ); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
