Did you ever get a response to this question, I'm looking for the same
thing?
On May 21, 7:37 am, szeta <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I don't know how I can achieve this..
>
> I want to find all Persons, butorderthem by the 'Due_Date' of the
> 'Group' they are assigned to (hasAndBelongs
Hello,
I don't know how I can achieve this..
I want to find all Persons, but order them by the 'Due_Date' of the
'Group' they are assigned to (hasAndBelongsToMany).
$this->Person->bindModel(array('hasAndBelongsToMany' => array('Group'
=> array(
'className' => 'Group',
'joinTable' => 'group_pers