From 9512d4e1a09ab70a57367ad3dc57b396619bbba1 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 2 Feb 2019 11:30:03 -0500 Subject: remove object filter from eventsPages too --- www/js/NVR.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/js/NVR.js') diff --git a/www/js/NVR.js b/www/js/NVR.js index 3cfdb1dd..9178669a 100644 --- a/www/js/NVR.js +++ b/www/js/NVR.js @@ -2635,7 +2635,7 @@ angular.module('zmApp.controllers') // All this effort because the ZM APIs return events in sorted order, oldest first. Yeesh. //----------------------------------------------------------------------------- - getEventsPages: function (monitorId, startTime, endTime) { + getEventsPages: function (monitorId, startTime, endTime, noObjectFilter) { //console.log("********** INSIDE EVENTS PAGES "); var d = $q.defer(); @@ -2655,7 +2655,7 @@ angular.module('zmApp.controllers') myurl = myurl + "/AlarmFrames >=:" + (loginData.enableAlarmCount ? loginData.minAlarmCount : 0); //https:///zm/api/events/index/Notes%20REGEXP:detected%3A.json - if (loginData.objectDetectionFilter) { + if (loginData.objectDetectionFilter && !noObjectFilter) { myurl = myurl + '/Notes%20REGEXP:detected%3A'; } -- cgit v1.2.3