view function:
$tasks = $this->Task->find('all', array('conditions'=>array('Status.name
!='=>'Completed')));
$this->set(compact('tasks'));
the difference is the models i am calling in the find()
--
View this message in context: http://www.nabble.com/correct-results-with-find%28%29-%3A%3A-any-help-or-advice-welcome-tp23717200p23717208.html
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment