mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
[bug] fix machine hours stats graph
This commit is contained in:
parent
38653d22d1
commit
6c9fdaaf83
@ -363,6 +363,8 @@ Application.Controllers.controller "GraphsController", ["$scope", "$state", "$ro
|
|||||||
"type": esType
|
"type": esType
|
||||||
"searchType": "count"
|
"searchType": "count"
|
||||||
"stat-type": statType
|
"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))
|
"body": buildElasticAggregationsQuery(statType, $scope.display.interval, moment($scope.datePickerStart.selected), moment($scope.datePickerEnd.selected))
|
||||||
, (error, response) ->
|
, (error, response) ->
|
||||||
if (error)
|
if (error)
|
||||||
|
Loading…
Reference in New Issue
Block a user