Re: 3 models and search condition
No, it should not, I wrote that I made the find from within the
Location model, thus it will find each Location record once, with X
number of Offer records.
Are you sure that is what you tried?
If you are using Containable, then don't use recursive!
Enjoy,
John
On Jun 12, 8:50 pm, viciat <viciuasc...@yahoo.com> wrote:
> True. Tried that. But, like I said, it gets the location_id of every offer.
> If there are 10 offers for a location, it will get all 10 location_id's. On
> top of that, it won't get the information for the Location model, since the
> Location model is related to the Offer model.
>
> Settings recursive to 2 won't work either.
> --
> View this message in context:http://old.nabble.com/3-models-and-search-condition-tp28866040p288663...
> Sent from the CakePHP mailing list archive at Nabble.com.
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home