I searched through the list and could not find anyone having this
specific issue.

I am using 1.2 (not exactly sure what version, but not pre-beta). I
have a table of content pages, which includes a parent_id field. I am
trying to pull a threaded array like this:

$test = $this->findAllThreaded(array('Content.section_id'=>'1'));

Basically I want to build some navigation, so I only want pages within
a specific section.

But the array keeps coming back empty. However, if I copy the SQL
query that Cake builds and run it, it returns exactly the records it
should.

Also, if I specify NO conditions (or even 1 = 1), it populates the
array with all pages. And no other conditions work, no matter what
fields I try to match.

I'm really stuck as this makes no sense whatsoever and I *seem* to be
doing it right. could this be a bug that has been resolved in the pre-
beta?

Thanks in advance!

AJ

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to