Skip to content

Commit

Permalink
cleaning up the table fab view since we hide these autogenerated metr…
Browse files Browse the repository at this point in the history
…ics anyway (#4992)
  • Loading branch information
Gabe Lyons authored and mistercrunch committed May 14, 2018
1 parent b391676 commit ce710f8
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions superset/connectors/sqla/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ class TableColumnInlineView(CompactCRUDMixin, SupersetModelView): # noqa
edit_columns = [
'column_name', 'verbose_name', 'description',
'type', 'groupby', 'filterable',
'table', 'count_distinct', 'sum', 'min', 'max', 'expression',
'table', 'expression',
'is_dttm', 'python_date_format', 'database_expression']
add_columns = edit_columns
list_columns = [
'column_name', 'verbose_name', 'type', 'groupby', 'filterable', 'count_distinct',
'sum', 'min', 'max', 'is_dttm']
'column_name', 'verbose_name', 'type', 'groupby', 'filterable',
'is_dttm']
page_size = 500
description_columns = {
'is_dttm': _(
Expand Down Expand Up @@ -86,10 +86,6 @@ class TableColumnInlineView(CompactCRUDMixin, SupersetModelView): # noqa
'groupby': _('Groupable'),
'filterable': _('Filterable'),
'table': _('Table'),
'count_distinct': _('Count Distinct'),
'sum': _('Sum'),
'min': _('Min'),
'max': _('Max'),
'expression': _('Expression'),
'is_dttm': _('Is temporal'),
'python_date_format': _('Datetime Format'),
Expand Down

0 comments on commit ce710f8

Please sign in to comment.