When selecting AlarmedZone, must check for SCore > 0.

pull/3544/head
Isaac Connor 2022-07-28 16:33:38 -04:00
parent 7f192c4e47
commit d8dea37c88
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class FilterTerm {
switch ( $this->attr ) {
case 'AlarmedZoneId':
$value = '(SELECT * FROM Stats WHERE EventId=E.Id AND ZoneId='.$value.')';
$value = '(SELECT * FROM Stats WHERE EventId=E.Id AND ZoneId='.$value.' AND Score > 0)';
break;
case 'ExistsInFileSystem':
$value = '';