mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Merge branch '2613_Error_en_filtrar_agentes_por_estado_en_bulk_operations' into 'develop'
Fixed error in agents bulk operations with a normal status See merge request artica/pandorafms!1709
This commit is contained in:
commit
f98e2ed1bf
@ -915,7 +915,7 @@ function agents_get_group_agents (
|
||||
if (isset($search['status'])) {
|
||||
switch ($search['status']) {
|
||||
case AGENT_STATUS_NORMAL:
|
||||
$filter[] = "normal_count = total_count";
|
||||
$filter[] = "(normal_count = total_count AND notinit_count <> total_count)";
|
||||
break;
|
||||
case AGENT_STATUS_WARNING:
|
||||
$filter[] = "(critical_count = 0 AND warning_count > 0)";
|
||||
|
Loading…
x
Reference in New Issue
Block a user