Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Commit a01525d

Browse files
committed
Merge pull request metabase#460 from metabase/incl_dims_in_breakout
include fields with "dimension" field_type in our breakout list in query builder
2 parents e54182e + 69414b0 commit a01525d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/frontend_client/app/explore/explore.services.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ExploreServices.service('CorvusFormGenerator', [function() {
3636
}
3737

3838
function isDimension(field) {
39-
return isDate(field) || isCategory(field);
39+
return isDate(field) || isCategory(field) || isInTypes(field.field_type, ['dimension']);
4040
}
4141

4242

0 commit comments

Comments
 (0)