Show consecutive stall count beside previous performance

This commit is contained in:
Peter Stockings
2026-10-11 11:30:30 +11:00
parent 9612d322eb
commit 0c0bcdc4b6
5 changed files with 46 additions and 7 deletions
+2 -2
View File
@@ -371,8 +371,8 @@ class DataBase():
WHERE
e.exercise_id = %s AND (w.person_id = %s OR w.person_id IS NULL)
ORDER BY
w.start_date DESC
LIMIT 1;
w.start_date DESC, t.topset_id DESC
LIMIT 1;
""", [exercise_id, person_id], one=True)
if not topset: