mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Bug fixed in group view, now when you pick a tag, shows the correct number of agents, in tree view. Ticket#2517
This commit is contained in:
parent
57d66bf073
commit
3288c35cbf
@ -212,7 +212,8 @@ if (!empty($result_groups)) {
|
||||
// Total agents
|
||||
echo "<td style='font-weight: bold; font-size: 18px;' align='center' class='$color_class'>";
|
||||
if (isset($data['_is_tag_'])) {
|
||||
$link = "";
|
||||
$link = "<a class='group_view_data $color_class' style='font-weight: bold; font-size: 18px; text-align: center;'
|
||||
href='index.php?sec=monitoring&sec2=operation/tree&tag_id=".$data['_id_']. "'>";
|
||||
} else {
|
||||
$link = "<a class='group_view_data $color_class' style='font-weight: bold; font-size: 18px; text-align: center;'
|
||||
href='index.php?sec=estado&sec2=operation/agentes/estado_agente&group_id=".$data['_id_']."'>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user