Skip to content

Commit

Permalink
Added order_by_cols to as_list. Fix to issue #821 (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhp4515 authored and mistercrunch committed Jul 28, 2016
1 parent f9427b9 commit 299e31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caravel/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ def save_or_overwrite_slice(
del d['action']
del d['previous_viz_type']

as_list = ('metrics', 'groupby', 'columns', 'all_columns', 'mapbox_label')
as_list = ('metrics', 'groupby', 'columns', 'all_columns', 'mapbox_label', 'order_by_cols')
for k in d:
v = d.get(k)
if k in as_list and not isinstance(v, list):
Expand Down

0 comments on commit 299e31f

Please sign in to comment.