Aggiunto filtro per account email cancellati
This commit is contained in:
parent
c68b35cd6b
commit
3ee12fdd85
|
@ -9,6 +9,9 @@ switch ($resource) {
|
|||
foreach ($elements as $element) {
|
||||
$filter[] = 'id = '.prepare($element);
|
||||
}
|
||||
if (empty($filter)) {
|
||||
$where[] = 'deleted_at IS NULL';
|
||||
}
|
||||
if (!empty($search)) {
|
||||
$search_fields[] = 'name LIKE '.prepare('%'.$search.'%');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue