Hi,

Are you sure that the query you mentioned is due to find('list')? AFAIK,
while finding list, the recursion level is -1. I am also eager to see the
whole code snippet instead of just "find('list', $conditions)" to provide
you any help.

Amit

PHP Applications for E-Biz: http://www.sanisoft.com/


On Tue, Nov 9, 2010 at 7:49 PM, Dan <[email protected]> wrote:

> I forgot to mention that I'm doing a find('list', $conditions).
> Conditions do not contain any reference to an ID being set to 5. The
> conditions is an 'OR' with multiple like statements.
>
> On Nov 8, 10:20 pm, Dan <[email protected]> wrote:
> > I'm doing this:
> > echo $this->element('sql_dump');
> >
> > In the where clause of one of the statements, I have this:
> >
> > ON ("ClientsProjects"."project_id" = '5' AND
> > "ClientsProjects"."contact_id" = "Contact"."contact_id")
> >
> > I've searched my entire code base and cannot for the life of me find
> > where the hard coded value of 5 is being associated to project_id.
> >
> > I do have a project_id of 5 that is linked to a contact_id of 36 in a
> > linking table though (along with many others to that same project_id).
>
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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 [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