adding sort order of the slices on changed_on field

This commit is contained in:
Krishna Puttaswamy 2015-10-27 11:36:25 -07:00
parent 5057593ec9
commit 6ecea9123c
1 changed files with 3 additions and 1 deletions

View File

@ -181,10 +181,12 @@ class SliceModelView(PanoramixModelView, DeleteMixin):
can_add = False
list_columns = [
'slice_link', 'viz_type', 'datasource_type',
'datasource', 'created_by']
'datasource', 'created_by', 'changed_on']
edit_columns = [
'slice_name', 'viz_type', 'druid_datasource',
'table', 'dashboards', 'params']
base_order = ('changed_on','desc')
appbuilder.add_view(
SliceModelView,