Added Different view for non-admins
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user