1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00

[bug] fix machine hours stats graph

This commit is contained in:
Sylvain 2016-11-21 11:35:56 +01:00
parent 38653d22d1
commit 6c9fdaaf83

View File

@ -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)