Skip to content

Commit

Permalink
Merge pull request apache#27 from michellethomas/cherry_pick_sort_fix
Browse files Browse the repository at this point in the history
Fix bug with sorting columns in group by using time shift
  • Loading branch information
michellethomas committed Mar 27, 2018
2 parents e3ffe50 + a51fc39 commit 1ff6e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ def get_data(self, df):

if self._extra_chart_data:
chart_data += self._extra_chart_data
chart_data = sorted(chart_data, key=lambda x: x['key'])
chart_data = sorted(chart_data, key=lambda x: tuple(x['key']))

return chart_data

Expand Down

0 comments on commit 1ff6e57

Please sign in to comment.