🐛 fix bug: Invalid field 'participant.status'
This commit is contained in:
parent
aa31259b40
commit
c748847442
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ class EventMailingList extends BaseMailingList {
|
|||
->addJoin('Participant AS participant', 'INNER',
|
||||
['id', '=', 'participant.contact_id'],
|
||||
['participant.event_id', '=', $this->event['id']],
|
||||
['participant.status', 'IN', self::getEnabledParticipantStatus()],
|
||||
['participant.status_id', 'IN', self::getEnabledParticipantStatus()],
|
||||
)
|
||||
->addGroupBy('id')
|
||||
->execute()
|
||||
|
@ -93,6 +93,6 @@ class EventMailingList extends BaseMailingList {
|
|||
* @return ?array
|
||||
*/
|
||||
public static function getEnabledParticipantStatus(): ?array {
|
||||
return MailingListSettings::get(E::SHORT_NAME . '_participant_status');
|
||||
return MailingListSettings::get('participant_status');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue