Fix for workout view showing sets out of order
This commit is contained in:
@@ -36,7 +36,8 @@ class Workout:
|
|||||||
tag ON TRUE -- Join to get all tags
|
tag ON TRUE -- Join to get all tags
|
||||||
WHERE
|
WHERE
|
||||||
w.person_id = %s
|
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])
|
data = self.execute(query, [person_id, workout_id])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user