From 8e88063726d2a4f188f12534c9e3e24d95926b32 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 25 May 2019 07:49:17 -0400 Subject: add back object filter. Got deleted by mistake --- www/js/NVR.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'www/js') diff --git a/www/js/NVR.js b/www/js/NVR.js index 8ecdfa57..53d7a350 100644 --- a/www/js/NVR.js +++ b/www/js/NVR.js @@ -407,8 +407,7 @@ angular.module('zmApp.controllers') //first login using new API $rootScope.authSession = ''; var loginAPI = loginData.apiurl + '/host/login.json'; - - + $http({ method: 'post', @@ -3228,9 +3227,9 @@ angular.module('zmApp.controllers') // don't know why but adding page messes up Notes //https:///zm/api/events/index/Notes%20REGEXP: detected%3A.json - /*if (loginData.objectDetectionFilter && !noObjectFilter) { + if (loginData.objectDetectionFilter && !noObjectFilter) { myurl = myurl + '/Notes REGEXP:"detected:"'; - }*/ + } myurl = myurl + ".json?&sort=StartTime&direction=desc&page=" + pageId + $rootScope.authSession; -- cgit v1.2.3