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/EventsGraphsCtrl.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/EventsGraphsCtrl.js')
| -rw-r--r-- | www/js/EventsGraphsCtrl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/EventsGraphsCtrl.js b/www/js/EventsGraphsCtrl.js index dd8fe279..c3c69b40 100644 --- a/www/js/EventsGraphsCtrl.js +++ b/www/js/EventsGraphsCtrl.js @@ -182,7 +182,7 @@ angular.module('zmApp.controllers').controller('zmApp.EventsGraphsCtrl', ['$ioni var dateString = ""; if (hrs) { - dateString = "/StartTime >=:" + startDate + "/EndTime <=:" + endDate; + dateString = "/StartTime <=:" + endDate + "/EndTime >=:" + startDate; } var url = loginData.apiurl + "/events/index/MonitorId:" + monitors[j].Monitor.Id + dateString + |
