mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-25 10:59:15 +02:00
[Secondary Groups] Fixed agent graph agent status
This commit is contained in:
parent
88375a2460
commit
e3341c98ce
@ -2637,8 +2637,10 @@ function graph_agent_status ($id_agent = false, $width = 300, $height = 200, $re
|
|||||||
ON ta.id_agente = tasg.id_agent
|
ON ta.id_agente = tasg.id_agent
|
||||||
WHERE
|
WHERE
|
||||||
ta.disabled = 0 AND
|
ta.disabled = 0 AND
|
||||||
|
%s
|
||||||
(ta.id_grupo IN (%s) OR tasg.id_group IN (%s))',
|
(ta.id_grupo IN (%s) OR tasg.id_group IN (%s))',
|
||||||
$show_not_init ? ', SUM(notinit_count) "Not init"' : '',
|
$show_not_init ? ', SUM(notinit_count) "Not init"' : '',
|
||||||
|
empty($id_agent) ? '' : "ta.id_agente = $id_agent AND",
|
||||||
$groups,
|
$groups,
|
||||||
$groups
|
$groups
|
||||||
));
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user