Merge branch 'release/v12.35'
This commit is contained in:
@@ -4839,7 +4839,7 @@ def history_view_data(request,userid=0):
|
|||||||
ignoreadvanced=True)
|
ignoreadvanced=True)
|
||||||
|
|
||||||
totalmeters,totalhours, totalminutes,totalseconds = get_totals(g_workouts)
|
totalmeters,totalhours, totalminutes,totalseconds = get_totals(g_workouts)
|
||||||
|
|
||||||
# meters, duration per workout type
|
# meters, duration per workout type
|
||||||
wtypes = list(set([w.workouttype for w in g_workouts]))
|
wtypes = list(set([w.workouttype for w in g_workouts]))
|
||||||
|
|
||||||
@@ -4910,7 +4910,7 @@ def history_view_data(request,userid=0):
|
|||||||
totalseconds=totalseconds)
|
totalseconds=totalseconds)
|
||||||
else:
|
else:
|
||||||
a_workouts = g_workouts.filter(workouttype=typeselect)
|
a_workouts = g_workouts.filter(workouttype=typeselect)
|
||||||
hours,minutes,seconds = get_totals(a_workouts)
|
meters, hours,minutes,seconds = get_totals(a_workouts)
|
||||||
totalseconds = 3600*hours+60*minutes+seconds
|
totalseconds = 3600*hours+60*minutes+seconds
|
||||||
ddf = getsmallrowdata_db(columns,ids=[w.id for w in a_workouts])
|
ddf = getsmallrowdata_db(columns,ids=[w.id for w in a_workouts])
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user