Skip to content

Commit

Permalink
Merge pull request #56 from mistercrunch/kp_enable_sort_order
Browse files Browse the repository at this point in the history
adding sort order of the slices on changed_on field
  • Loading branch information
krishnap committed Oct 27, 2015
2 parents 5057593 + 6ecea91 commit ed19b8e
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 ed19b8e

Please sign in to comment.