Allowing "Unique Count"s of any data type (#7704)

This commit is contained in:
Joseph Pintozzi authored and Torkel Ödegaard committed 2017-03-07 08:36:33 +01:00
1 parent a24ac012c4
commit a37a2259b3
1 file changed
+3
@@ -162,6 +162,9 @@ function (angular, _, queryDef) {
};
$scope.getFieldsInternal = function() {
if ($scope.agg.type === 'cardinality') {
return $scope.getFields();
}
return $scope.getFields({$fieldType: 'number'});
};