mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
[bugfix] only filterable columns should show up in FilterBox list (#3105)
* [bugfix] only filterable columns should show up in FilterBox list * Touchups
This commit is contained in:
committed by
GitHub
parent
49ab09101b
commit
95509f2000
@@ -326,7 +326,7 @@ export const controls = {
|
||||
valueRenderer: c => <ColumnOption column={c} />,
|
||||
valueKey: 'column_name',
|
||||
mapStateToProps: state => ({
|
||||
options: (state.datasource) ? state.datasource.columns : [],
|
||||
options: (state.datasource) ? state.datasource.columns.filter(c => c.groupby) : [],
|
||||
}),
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user