mirror of https://github.com/apache/superset.git
Unnecessary to specify order_columns for DatasourceModelView (#3331)
This commit is contained in:
parent
0454ef3726
commit
813ed6018d
|
@ -178,8 +178,6 @@ class DruidDatasourceModelView(DatasourceModelView, DeleteMixin): # noqa
|
||||||
list_widget = ListWidgetWithCheckboxes
|
list_widget = ListWidgetWithCheckboxes
|
||||||
list_columns = [
|
list_columns = [
|
||||||
'datasource_link', 'cluster', 'changed_by_', 'modified']
|
'datasource_link', 'cluster', 'changed_by_', 'modified']
|
||||||
order_columns = [
|
|
||||||
'datasource_link', 'changed_on_', 'offset']
|
|
||||||
related_views = [DruidColumnInlineView, DruidMetricInlineView]
|
related_views = [DruidColumnInlineView, DruidMetricInlineView]
|
||||||
edit_columns = [
|
edit_columns = [
|
||||||
'datasource_name', 'cluster', 'slices', 'description', 'owner',
|
'datasource_name', 'cluster', 'slices', 'description', 'owner',
|
||||||
|
|
|
@ -160,8 +160,6 @@ class TableModelView(DatasourceModelView, DeleteMixin): # noqa
|
||||||
list_columns = [
|
list_columns = [
|
||||||
'link', 'database',
|
'link', 'database',
|
||||||
'changed_by_', 'modified']
|
'changed_by_', 'modified']
|
||||||
order_columns = [
|
|
||||||
'link', 'database', 'changed_on_']
|
|
||||||
add_columns = ['database', 'schema', 'table_name']
|
add_columns = ['database', 'schema', 'table_name']
|
||||||
edit_columns = [
|
edit_columns = [
|
||||||
'table_name', 'sql', 'filter_select_enabled', 'slices',
|
'table_name', 'sql', 'filter_select_enabled', 'slices',
|
||||||
|
|
Loading…
Reference in New Issue