summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-05-25 07:49:17 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-05-25 07:49:17 -0400
commit8e88063726d2a4f188f12534c9e3e24d95926b32 (patch)
tree4009220beb62edc553fce9c98ead9e3c358f93bf
parentb6d10c90095fb8615d05f8530ba8d411984762c6 (diff)
add back object filter. Got deleted by mistake
-rw-r--r--www/js/NVR.js7
1 files changed, 3 insertions, 4 deletions
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;