mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-24 14:36:09 -04:00
Fix: Add monitors to the filter only if the filter limit is set
My previous PR #3895 did not analyze the Group, Capturing, Analysing, etc. filters, but only took into account the Monitor filter
This commit is contained in:
@@ -255,7 +255,7 @@ ob_start();
|
||||
$filter = addFilterTerm(
|
||||
$eventCounts[$i]['filter'],
|
||||
count($eventCounts[$i]['filter']['Query']['terms']),
|
||||
gettype ($_SESSION['MonitorId']) == "array" #Add monitors to the filter only if they are selected in select
|
||||
count($displayMonitorIds) != $colAllAvailableMonitors #Add monitors to the filter only if the filter limit is set
|
||||
? array(
|
||||
'cnj'=>'and',
|
||||
'attr'=>'Monitor',
|
||||
|
||||
Reference in New Issue
Block a user