mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Allowing "Unique Count"s of any data type (#7704)
This commit is contained in:
committed by
Torkel Ödegaard
parent
a24ac012c4
commit
a37a2259b3
@@ -162,6 +162,9 @@ function (angular, _, queryDef) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.getFieldsInternal = function() {
|
$scope.getFieldsInternal = function() {
|
||||||
|
if ($scope.agg.type === 'cardinality') {
|
||||||
|
return $scope.getFields();
|
||||||
|
}
|
||||||
return $scope.getFields({$fieldType: 'number'});
|
return $scope.getFields({$fieldType: 'number'});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user