Compare commits

...

4 Commits

Author SHA1 Message Date
882665cbd9 Merge pull request 'remove-external-cox' (#153) from remove-external-cox into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 15m14s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 17m58s
Reviewed-on: #153
2024-01-05 22:24:27 +01:00
9cbbdb38c2 remove external cox from stat
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled
2024-01-05 22:23:36 +01:00
c199c3241e Merge pull request 'hide external boat in stats' (#150) from hide-external-boat-in-stats into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 15m22s
CI/CD Pipeline / deploy-staging (push) Successful in 17m54s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #150
2024-01-05 20:42:48 +01:00
f0755a44e3 Merge pull request 'fix stat' (#148) from fix-stat into staging
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled
Reviewed-on: #148
2024-01-05 20:38:24 +01:00

View File

@ -101,7 +101,7 @@ FROM (
) u ) u
INNER JOIN rower r ON u.id = r.rower_id 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}-%' 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;
" "