Private
Public Access
1
0

bug fix preventing people from chosing own metrics in history

This commit is contained in:
Sander Roosendaal
2020-08-30 09:05:12 +02:00
parent 620e451e01
commit 5f642e154b

View File

@@ -4848,6 +4848,8 @@ def history_view_data(request,userid=0):
typeselect = 'All'
yaxis = request.GET.get('yaxis','duration')
if yaxis not in ['duration','rscore','trimp']:
yaxis = 'duration'
g_workouts = Workout.objects.filter(
user=r,