Added Different view for non-admins

This commit is contained in:
Luca Haid
2025-02-03 13:58:06 +01:00
parent f90ef688f5
commit 556216fe44
3 changed files with 222 additions and 152 deletions

View File

@@ -136,6 +136,13 @@ class DeviceModel
}
}
if (array_key_exists("popIds", $filter)) {
$popids = $filter['popIds'];
if (is_array($popids)) {
$where .= " AND pop_id IN (" . implode(",", $popids) . ")";
}
}
//var_dump($filter, $where);exit;
return $where;
}