metric_agg.js
6.24 KB
-
[elasticsearch] Fix add metric that was not working properly · d55cc4e2
when selecting Raw Documet metric type, the $scope.target.metrics was replaced by [$scope.agg], however the pointer to this variables is shared with metricAggs. Instead we free the array and add $scope.agg
Dhia MOAKHAR committed