Thursday, March 25, 2010

Re: hasMany & Containable Problems

Yes, you are haveing a case of specifically not seperations of
domains. If you left join haveing an operator on right you will be
haveing much successes.

Many Happy adjustments

Shusta

On Mar 25, 1:55 pm, Abdul-Hamid <ahkabb...@gmail.com> wrote:
> Hello,
>
> I've got the following two modelshttp://bin.cakephp.org/saved/57087http://bin.cakephp.org/saved/57088
>
> And the following in the CustomerAccounts Controllerhttp://bin.cakephp.org/view/689658989
>
> What I am trying to do is to retrieve all customer account information
> that have a domain names that match a search query.
> I have followedhttp://book.cakephp.org/view/474/Containable#Containing-deeper-associ...
>
> What's happening is that ALL customer account records are retrieved,
> and ONLY related domains that match the criteria are shown, otherwise
> the domainName relationship shows nothing.
>
> What it should do is ONLY retrieve customer account information that
> have a matching domain name criteria.
>
> Any clues why this is happening?
>
> Thanks

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

To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: