Hi guys, I have this model Structure -
Model 1 - Union var $belongsTo = array( 'Address' => array( 'className' => 'Address', 'foreignKey' => 'address_id', 'conditions' => '', 'fields' => '', 'order' => '' ) ); Model 2 - Address var $belongsTo = array( 'District' => array( 'className' => 'District', 'foreignKey' => 'district_id', 'conditions' => '', 'fields' => '', 'order' => '' ) ); Model 3 District. with fields name and code both varchar. Now I would like to paginate the Unions which should be ordered in ASC by Union.Address.District.name ASC Is that possible and if so how should i write the paginate. Urgent help need. I am stuck here. Regards, -- Sijo Jose Chakramakkil 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
