From f9b62904138c9a10adf5b27146cd5aad29cf5f28 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 10 Jun 2015 15:14:48 +0200 Subject: [PATCH] Fixed the list of items in the report editor. --- .../godmode/reporting/reporting_builder.list_items.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/godmode/reporting/reporting_builder.list_items.php b/pandora_console/godmode/reporting/reporting_builder.list_items.php index 5cb798e148..9119ba033f 100755 --- a/pandora_console/godmode/reporting/reporting_builder.list_items.php +++ b/pandora_console/godmode/reporting/reporting_builder.list_items.php @@ -105,6 +105,8 @@ else { $modules[$row['id_agent_module']] = $row['nombre']; } + + // Filter report items created from metaconsole in normal console list and the opposite if (defined('METACONSOLE') and $config['metaconsole'] == 1) { $where_types = ' AND ((server_name IS NOT NULL AND length(server_name) != 0) OR type IN (\'general\',\'SLA\',\'exception\',\'top_n\'))'; @@ -129,6 +131,8 @@ else { } } + + $agentFilter = get_parameter('agent_filter', 0); $moduleFilter = get_parameter('module_filter', 0); $typeFilter = get_parameter('type_filter', 0);