Fix bug with sorting columns in group by using time shift (#4683)

This commit is contained in:
michellethomas 2018-03-26 10:55:43 -07:00 committed by Grace Guo
parent 336a1064d6
commit 52b925fee8
1 changed files with 1 additions and 1 deletions

View File

@ -1149,7 +1149,7 @@ class NVD3TimeSeriesViz(NVD3Viz):
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