Well Ben, Cars don't belong to Wheels, Wheels belong to cars. Cars hasMany Wheels, and Wheels hasOne Tire.
Your lookup is exactly reversed, I would start there. Wheel On Jul 4, 4:30 am, Ben <[EMAIL PROTECTED]> wrote: > My problem: > > I have a belongsTo relation, like Cars belongsTo Wheels. And there is > a belonsTo relation like Wheels belongsTo Tires. > > Now i want to paginate the Cars und Filter by Wheels.type. But i can't > beacause pagination didn't find the Wheels belongsTo (and so didn't > join the Wheels table) at the moment of filtering. > > Is there a way to get it? > > Ben --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
