mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
ent 9183 agent alerts filter
This commit is contained in:
parent
d1b22e3f7e
commit
03504fe7c5
@ -195,7 +195,7 @@ $simple_alerts = [];
|
||||
|
||||
$total = 0;
|
||||
$where = '';
|
||||
if ($searchFlag) {
|
||||
|
||||
if ($status_alert === 'fired') {
|
||||
$where .= ' AND talert_template_modules.times_fired > 0';
|
||||
}
|
||||
@ -245,7 +245,6 @@ if ($searchFlag) {
|
||||
if ($standby != -1 && $standby != '') {
|
||||
$where .= ' AND talert_template_modules.standby = '.$standby;
|
||||
}
|
||||
}
|
||||
|
||||
$id_agents = array_keys($agents);
|
||||
if (empty($id_agents) === true) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user