summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-11-24 19:20:24 -0500
committerPliable Pixels <pliablepixels@gmail.com>2018-11-24 19:20:24 -0500
commit7c804855815b2472f4b535d6798aa735c6ae6a4f (patch)
treeb3fead83601488aa7d408879ef22ac668eef85b0 /www
parent1c7176e5eb8f2ed98bc04ec133b470cb309d4035 (diff)
fixed odd cake mysql error - how I don't quite know
Diffstat (limited to 'www')
-rw-r--r--www/js/DataModel.js4
-rw-r--r--www/js/EventCtrl.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index bb8092a6..10883964 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -2745,9 +2745,9 @@ angular.module('zmApp.controllers')
myurl = myurl + "/AlarmFrames >=:" + (loginData.enableAlarmCount ? loginData.minAlarmCount : 0);
- //https:///zm/api/events/index/Notes%20REGEXP:detected%3A.json
+ //https:///zm/api/events/index/Notes%20REGEXP: detected%3A.json
if (loginData.objectDetectionFilter) {
- myurl = myurl + '/Notes%20REGEXP:detected%3A';
+ myurl = myurl + '/Notes REGEXP:detected:';
}
myurl = myurl + ".json?&sort=StartTime&direction=desc&page=" + pageId;
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index 5f9a77fd..f53d6e63 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -1826,7 +1826,7 @@ angular.module('zmApp.controllers')
var af = "/AlarmFrames >=:" + (ld.enableAlarmCount ? ld.minAlarmCount : 0);
if (ld.objectDetectionFilter) {
- af = af + '/Notes%20REGEXP:detected%3A';
+ af = af + '/Notes REGEXP:"detected:"';
}