mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-27 00:06:14 +01:00
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
Block a user