mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
display the verbose_name of columns in list view, just like in the metrics list
This commit is contained in:
@@ -35,7 +35,7 @@ class DruidColumnInlineView(CompactCRUDMixin, SupersetModelView): # noqa
|
||||
'groupby', 'filterable', 'count_distinct', 'sum', 'min', 'max']
|
||||
add_columns = edit_columns
|
||||
list_columns = [
|
||||
'column_name', 'type', 'groupby', 'filterable', 'count_distinct',
|
||||
'column_name', 'verbose_name', 'type', 'groupby', 'filterable', 'count_distinct',
|
||||
'sum', 'min', 'max']
|
||||
can_delete = False
|
||||
page_size = 500
|
||||
|
||||
@@ -39,7 +39,7 @@ class TableColumnInlineView(CompactCRUDMixin, SupersetModelView): # noqa
|
||||
'is_dttm', 'python_date_format', 'database_expression']
|
||||
add_columns = edit_columns
|
||||
list_columns = [
|
||||
'column_name', 'type', 'groupby', 'filterable', 'count_distinct',
|
||||
'column_name', 'verbose_name', 'type', 'groupby', 'filterable', 'count_distinct',
|
||||
'sum', 'min', 'max', 'is_dttm']
|
||||
page_size = 500
|
||||
description_columns = {
|
||||
|
||||
Reference in New Issue
Block a user