Fix monitoring alert detail filter for defautl actions
This commit is contained in:
parent
1bbcf965a8
commit
c8fcd511bf
|
@ -2183,6 +2183,7 @@ function get_group_alerts(
|
||||||
// WHEN SELECT ALL TAGS TO FILTER ALERTS
|
// WHEN SELECT ALL TAGS TO FILTER ALERTS
|
||||||
if ($action_filter) {
|
if ($action_filter) {
|
||||||
$filter .= ' AND (talert_template_modules.id IN (SELECT id_alert_template_module FROM talert_template_module_actions where id_alert_action = '.$action_filter.'))';
|
$filter .= ' AND (talert_template_modules.id IN (SELECT id_alert_template_module FROM talert_template_module_actions where id_alert_action = '.$action_filter.'))';
|
||||||
|
$filter .= ' OR talert_template_modules.id IN (SELECT talert_templates.id FROM talert_templates where talert_templates.id_alert_action = '.$action_filter.')';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_array($options)) {
|
if (is_array($options)) {
|
||||||
|
|
Loading…
Reference in New Issue