Skip to content

Commit

Permalink
[crud] Improving performance (apache#5136)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored Jun 6, 2018
1 parent aa7acd3 commit b2198de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/connectors/sqla/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ class TableModelView(DatasourceModelView, DeleteMixin, YamlExportMixin): # noqa
order_columns = ['modified']
add_columns = ['database', 'schema', 'table_name']
edit_columns = [
'table_name', 'sql', 'filter_select_enabled', 'slices',
'table_name', 'sql', 'filter_select_enabled',
'fetch_values_predicate', 'database', 'schema',
'description', 'owner',
'main_dttm_col', 'default_endpoint', 'offset', 'cache_timeout',
'is_sqllab_view', 'template_params',
]
base_filters = [['id', DatasourceFilter, lambda: []]]
show_columns = edit_columns + ['perm']
show_columns = edit_columns + ['perm', 'slices']
related_views = [TableColumnInlineView, SqlMetricInlineView]
base_order = ('changed_on', 'desc')
search_columns = (
Expand Down

0 comments on commit b2198de

Please sign in to comment.