Compare commits

...

2 Commits

Author SHA1 Message Date
eed7718a3f Merge pull request 'alphabetically order stat if same ranking' (#233) from staging into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 15m25s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 3m58s
Reviewed-on: #233
2024-03-04 17:12:40 +01:00
4a81d2d624 alphabetically order stat if same ranking
All checks were successful
CI/CD Pipeline / test (push) Successful in 20m38s
CI/CD Pipeline / deploy-staging (push) Successful in 17m34s
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-03-04 17:12:16 +01:00

View File

@ -108,7 +108,7 @@ INNER JOIN rower r ON u.id = r.rower_id
INNER JOIN logbook l ON r.logbook_id = l.id INNER JOIN logbook l ON r.logbook_id = l.id
WHERE l.distance_in_km IS NOT NULL AND l.arrival LIKE '{year}-%' AND u.name != 'Externe Steuerperson' WHERE l.distance_in_km IS NOT NULL AND l.arrival LIKE '{year}-%' AND u.name != 'Externe Steuerperson'
GROUP BY u.name GROUP BY u.name
ORDER BY rowed_km DESC; ORDER BY rowed_km DESC, u.name;
" "
)) ))
.fetch_all(db) .fetch_all(db)