diff --git a/rowers/views.py b/rowers/views.py index cd06ba03..d18a4754 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -2069,9 +2069,9 @@ def multi_compare_view(request): yparam = chartform.cleaned_data['yparam'] plottype = chartform.cleaned_data['plottype'] teamid = chartform.cleaned_data['teamid'] - ids = [w.id for w in workouts] + ids = [int(w.id) for w in workouts] labeldict = { - w.id: w.__unicode__() for w in workouts + int(w.id): w.__unicode__() for w in workouts } res = interactive_multiple_compare_chart(ids,xparam,yparam,