changed startdate, time ordering to startdatetime ordering in join
This commit is contained in:
@@ -195,7 +195,7 @@ def join_workouts(r,ids,title='Joined Workout',
|
|||||||
|
|
||||||
|
|
||||||
# reorder in chronological order
|
# reorder in chronological order
|
||||||
ws = Workout.objects.filter(id__in=ids).order_by("date", "starttime")
|
ws = Workout.objects.filter(id__in=ids).order_by("startdatetime")
|
||||||
|
|
||||||
if not parent:
|
if not parent:
|
||||||
parent = ws[0]
|
parent = ws[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user