|
@@ -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'});
|
|
|
};
|
|
};
|
|
|
|
|
|