diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index e5ce270125..320282e403 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -920,7 +920,7 @@ switch ($sortField) { break; case 'type': - $fieldForSorting = 'id_tipo_modulo'; + $fieldForSorting = 'module_type'; switch ($sort) { case 'up': $selectDataTypeUp = $selected; @@ -941,7 +941,7 @@ switch ($sortField) { break; case 'moduletype': - $fieldForSorting = 'id_modulo'; + $fieldForSorting = 'module_type'; switch ($sort) { case 'up': $selectTypeUp = $selected; @@ -1112,6 +1112,7 @@ switch ($sortField) { break; } + $sql = 'SELECT (SELECT GROUP_CONCAT(ttag.name SEPARATOR \',\') FROM ttag