mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-16 02:14:59 +02:00
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
|
||||
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 .= ' 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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user