Fixed error when filter fot SLA Monthly and dont show this items in report list items. Tiquet: #2240

This commit is contained in:
m-lopez-f 2015-07-06 10:06:33 +02:00
parent 55b5bbcfa3
commit 4f789f268d
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ if ($moduleFilter != 0) {
// Filter report items created from metaconsole in normal console list and the opposite
if (defined('METACONSOLE') and $config['metaconsole'] == 1) {
$where .= ' AND ((server_name IS NOT NULL AND length(server_name) != 0) ' .
'OR ' . $type_escaped . ' IN (\'general\', \'SLA\', \'exception\', \'availability\', \'top_n\'))';
'OR ' . $type_escaped . ' IN (\'general\', \'SLA\', \'exception\', \'availability\', \'top_n\',\'SLA_monthly\'))';
}
else
$where .= ' AND ((server_name IS NULL OR length(server_name) = 0) ' .