Skip to content

Commit

Permalink
adding sort order of the slices on changed_on field
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishna Puttaswamy committed Oct 27, 2015
1 parent 5057593 commit 6ecea91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion panoramix/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6ecea91

Please sign in to comment.