From a4be805ba4d1657fa2489b4723e499c253d24445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Gonz=C3=A1lez?= Date: Thu, 29 Sep 2022 00:24:31 +0200 Subject: [PATCH] Fix --- pandora_console/operation/agentes/status_monitor.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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