From 0e1cd281f065eaeb6f7cf69fb0d5109069e751f4 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Mon, 27 Feb 2017 10:52:59 +0100 Subject: [PATCH] Added alias to agent search --- .../godmode/reporting/visual_console_builder.elements.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/reporting/visual_console_builder.elements.php b/pandora_console/godmode/reporting/visual_console_builder.elements.php index 9900805e56..c5df08c594 100755 --- a/pandora_console/godmode/reporting/visual_console_builder.elements.php +++ b/pandora_console/godmode/reporting/visual_console_builder.elements.php @@ -366,7 +366,7 @@ foreach ($layoutDatas as $layoutData) { $params['hidden_input_idagent_name'] = 'id_agent_' . $idLayoutData; $params['hidden_input_idagent_value'] = $layoutData['id_agent']; - $params['value'] = agents_meta_get_name($layoutData['id_agent'], + $params['value'] = agents_meta_get_alias($layoutData['id_agent'], "none", $layoutData['id_metaconsole'], true); } else {