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:
Arturo Gonzalez Diaz 2015-08-13 11:39:36 +02:00
parent 57d66bf073
commit 3288c35cbf

View File

@ -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_']."'>";