From 6c9fdaaf8344a0196f516c4914ba9aec77e5e360 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 21 Nov 2016 11:35:56 +0100 Subject: [PATCH] [bug] fix machine hours stats graph --- app/assets/javascripts/controllers/admin/graphs.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/javascripts/controllers/admin/graphs.coffee b/app/assets/javascripts/controllers/admin/graphs.coffee index beadfd7c9..8c23e69c7 100644 --- a/app/assets/javascripts/controllers/admin/graphs.coffee +++ b/app/assets/javascripts/controllers/admin/graphs.coffee @@ -363,6 +363,8 @@ Application.Controllers.controller "GraphsController", ["$scope", "$state", "$ro "type": esType "searchType": "count" "stat-type": statType + "start-date": moment($scope.datePickerStart.selected).format() + "end-date": moment($scope.datePickerEnd.selected).format() "body": buildElasticAggregationsQuery(statType, $scope.display.interval, moment($scope.datePickerStart.selected), moment($scope.datePickerEnd.selected)) , (error, response) -> if (error)