chg: [individual] MailingLists association improved
parent
9373c35bc6
commit
16581a13fb
|
@ -38,7 +38,9 @@ class IndividualsTable extends AppTable
|
|||
$this->belongsToMany('Organisations', [
|
||||
'through' => 'Alignments',
|
||||
]);
|
||||
$this->belongsToMany('MailingLists');
|
||||
$this->belongsToMany('MailingLists', [
|
||||
'through' => 'mailing_lists_individuals',
|
||||
]);
|
||||
|
||||
$this->setDisplayField('email');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue