Fixed error when filter fot SLA Monthly and dont show this items in report list items. Tiquet: #2240
This commit is contained in:
parent
55b5bbcfa3
commit
4f789f268d
|
@ -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) ' .
|
||||
|
|
Loading…
Reference in New Issue