Fix for workout view showing sets out of order

This commit is contained in:
Peter Stockings
2025-02-01 19:38:08 +11:00
parent 07c2111b55
commit 677d44320c

View File

@@ -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])