From 9e8c42bdc35231b5adfcd37a2cb2bf71fc5c5243 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 23 Aug 2019 10:57:29 -0400 Subject: #848 fix time filter logic, also make object detection filter selectable in timeline, just like in Events --- www/js/EventsGraphsCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js/EventsGraphsCtrl.js') 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 + -- cgit v1.2.3