From 8ca94d40969e39929b48f6a01d30b3c8742f5f85 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Fri, 10 Nov 2023 10:47:26 +0100 Subject: [PATCH] #11126 fixed normal link graph --- pandora_console/include/javascript/general_tactical_view.js | 6 ++++++ .../include/lib/TacticalView/elements/Overview.php | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/javascript/general_tactical_view.js b/pandora_console/include/javascript/general_tactical_view.js index 5761f4b51f..d1de902c25 100644 --- a/pandora_console/include/javascript/general_tactical_view.js +++ b/pandora_console/include/javascript/general_tactical_view.js @@ -152,6 +152,12 @@ function redirectStatus(e, element) { ); break; + case "Normal": + window.location.assign( + `index.php?sec=view&sec2=operation/agentes/status_monitor&refr=0&ag_group=0&ag_freestring=&module_option=1&ag_modulename=&moduletype=&datatype=&status=0&sort_field=&sort=none&pure=` + ); + break; + default: window.location.assign( `index.php?sec=view&sec2=operation/agentes/status_monitor&refr=0&ag_group=0&ag_freestring=&module_option=1&ag_modulename=&moduletype=&datatype=&status=-1&sort_field=&sort=none&pure=` diff --git a/pandora_console/include/lib/TacticalView/elements/Overview.php b/pandora_console/include/lib/TacticalView/elements/Overview.php index 7290f6b079..6234887e94 100644 --- a/pandora_console/include/lib/TacticalView/elements/Overview.php +++ b/pandora_console/include/lib/TacticalView/elements/Overview.php @@ -35,7 +35,6 @@ class Overview extends Element public function __construct() { global $config; - include_once $config['homedir'].'/include/graphs/fgraph.php'; parent::__construct(); include_once $config['homedir'].'/include/graphs/fgraph.php'; if (is_ajax() === true) {