diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-08-23 10:57:29 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-08-23 10:57:29 -0400 |
| commit | 9e8c42bdc35231b5adfcd37a2cb2bf71fc5c5243 (patch) | |
| tree | d408a6740c43d3ad85defa93cfc489d1b3ddb8f5 /www/js/MomentCtrl.js | |
| parent | f43779328a21e50acf4b716b77cbae1dd6bba812 (diff) | |
#848 fix time filter logic, also make object detection filter selectable in timeline, just like in Events
Diffstat (limited to 'www/js/MomentCtrl.js')
| -rw-r--r-- | www/js/MomentCtrl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/MomentCtrl.js b/www/js/MomentCtrl.js index 38edb4e4..186df5cd 100644 --- a/www/js/MomentCtrl.js +++ b/www/js/MomentCtrl.js @@ -749,7 +749,7 @@ angular.module('zmApp.controllers').controller('zmApp.MomentCtrl', ['$scope', '$ var ld = NVR.getLogin(); // in API, always sort by StartTime so all monitors are represented - var myurl = ld.apiurl + "/events/index/AlarmFrames >=:1" + excludeMonitorsFilter + "/StartTime >=:" + timeFrom + "/StartTime <=:" + timeTo + ".json?sort=" + "StartTime" + "&direction=desc"+$rootScope.authSession; + var myurl = ld.apiurl + "/events/index/AlarmFrames >=:1" + excludeMonitorsFilter + "/StartTime <=:" + timeTo + "/EndTime >=:" + timeFrom + ".json?sort=" + "StartTime" + "&direction=desc"+$rootScope.authSession; NVR.debug("Retrieving " + myurl); |
