$this->
addAclPermission('resendMail', 'resend', 'Insufficient permissions'
);
$this->
addAclPermission('getConfig', 'manage', 'Insufficient permissions'
);
$this->
addAclPermission('getFilters', 'manage', 'Insufficient permissions'
);
$this->
addAclPermission('saveConfig', 'manage', 'Insufficient permissions'
);
} /**
* {@inheritdoc}
*/
protected function getFilterConditions($filters,
$model,
$alias,
$whiteList =
[]) { $conditions = parent::
getFilterConditions($filters,
$model,
$alias,
$whiteList);
$handledAllFilters = \
count($conditions) >= \
count($filters);
// Enable searching for recipients
foreach ($filters as $filter) { if ($filter['property'
] === 'search'
) { $value =
$this->
formatSearchValue($filter['value'
],
['type' => 'text'
]);
$conditions[] =
[ 'property' => self::JOIN_ALIAS_RECIPIENTS . '.mailAddress',
'operator' => 'OR',