From 1d8dd85bbc83b0cad40d042d5e0b59d029b252e3 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Mon, 30 Aug 2021 10:49:07 +0200 Subject: [PATCH] #7885 Fixed order --- pandora_console/include/functions_reporting_html.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index 28c52a9fd4..fa8eb25031 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -4334,14 +4334,6 @@ function reporting_html_general($table, $item, $pdf=0) $table1->style[2] = 'text-align: center'; $table1->style[3] = 'text-align: center'; - // Begin - Order by agent. - foreach ($item['data'] as $key => $row) { - $aux[$key] = $row['agent']; - } - - array_multisort($aux, SORT_ASC, $item['data']); - - // End - Order by agent. foreach ($item['data'] as $row) { if ($row['id_module_type'] == 6 || $row['id_module_type'] == 9 || $row['id_module_type'] == 18 || $row['id_module_type'] == 2) { $row['formated_value'] = round($row['formated_value'], 0, PHP_ROUND_HALF_DOWN);