diff --git a/features/workout.py b/features/workout.py index 046f30a..bfd7e0a 100644 --- a/features/workout.py +++ b/features/workout.py @@ -36,7 +36,8 @@ class Workout: tag ON TRUE -- Join to get all tags WHERE w.person_id = %s - AND w.workout_id = %s; + AND w.workout_id = %s + ORDER BY t.topset_id ASC; """ data = self.execute(query, [person_id, workout_id])