Fixed the list of items in the report editor.

This commit is contained in:
mdtrooper 2015-06-10 15:14:48 +02:00
parent 28f10174d4
commit f9b6290413
1 changed files with 4 additions and 0 deletions

View File

@ -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);