diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-05-29 11:45:23 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-05-29 11:45:23 -0400 |
| commit | 2e44ed65be3ad42190af1e590a30ac2866ef65c4 (patch) | |
| tree | e833d7214a9183412be90c38fd12cf94b55510eb /www/js/NVR.js | |
| parent | 2f59a4e6ade708f320bb2212c11e6ff2d4259eec (diff) | |
add ability to filter events by monitor
Diffstat (limited to 'www/js/NVR.js')
| -rw-r--r-- | www/js/NVR.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js index fcde6fed..4eb81534 100644 --- a/www/js/NVR.js +++ b/www/js/NVR.js @@ -3189,7 +3189,7 @@ angular.module('zmApp.controllers') // new reminder // //https:///zm/api/events.json?&sort=StartTime&direction=desc&page=1 - getEvents: function (monitorId, pageId, loadingStr, startTime, endTime, noObjectFilter) { + getEvents: function (monitorId, pageId, loadingStr, startTime, endTime, noObjectFilter, monListFilter) { @@ -3226,6 +3226,10 @@ angular.module('zmApp.controllers') myurl = myurl + "/AlarmFrames >=:" + (loginData.enableAlarmCount ? loginData.minAlarmCount : 0); + //console.log ('********* MON FILTER '+monListFilter); + if (monListFilter) + myurl = myurl + monListFilter; + // don't know why but adding page messes up Notes //https:///zm/api/events/index/Notes%20REGEXP: detected%3A.json if (loginData.objectDetectionFilter && !noObjectFilter) { |
