What is the best way to limit find('threaded') by parent_id so
children aren't limited?

The following returns 4 parents and 6 children, so many children are
missing
$this->Comment->find('threaded', array('conditions' => array
('Comment.post_id' => 1), 'limit' => '0, 10'));

Is there any way to get 10 parents and all their children instead?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to