Hi all, I want to paginate a certain model and include some data from an indirectly-related model. To better illustrate, consider the following Model relationships:
Match belongsTo array( 'FirstFamily' => array( 'className' => 'Family', 'foreignKey' => 'first_family_id' ), 'SecondFamily' => array( 'className' => 'Family', 'foreignKey' => 'second_family_id' ), ) Family hasMany FamilyParent Now, in my paginated view, I want to show: Match.id Family.id FamilyParent.first_name, FamilyParent.last_name (from FirstFamily) FamilyParent.first_name, FamilyParent.last_name (from SecondFamily) Is this even possible? If it is, then will column sorting still work or not? Thanks in advance. -- ~dmb --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---