bug fix
This commit is contained in:
@@ -4839,7 +4839,7 @@ def history_view_data(request,userid=0):
|
||||
ignoreadvanced=True)
|
||||
|
||||
totalmeters,totalhours, totalminutes,totalseconds = get_totals(g_workouts)
|
||||
|
||||
|
||||
# meters, duration per workout type
|
||||
wtypes = list(set([w.workouttype for w in g_workouts]))
|
||||
|
||||
@@ -4910,7 +4910,7 @@ def history_view_data(request,userid=0):
|
||||
totalseconds=totalseconds)
|
||||
else:
|
||||
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
|
||||
ddf = getsmallrowdata_db(columns,ids=[w.id for w in a_workouts])
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user