We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42fc798 + 3d250ef commit 71eea74Copy full SHA for 71eea74
1 file changed
api/src/data/statistics.py
@@ -27,7 +27,7 @@ def getHackerStatistics() -> dict:
27
statistics["schools"] = None
28
29
# ===== T Shirt Sizes
30
- shirtCountSQL = 'SELECT count(*) as count, shirt_size FROM Applications WHERE status in (\'ACCEPTED\', \'CONFIRMED\') ' \
+ shirtCountSQL = 'SELECT count(*) as count, shirt_size FROM Applications WHERE status in (\'ACCEPTED\', \'CONFIRMED\') AND NOT is_virtual ' \
31
'GROUP BY shirt_size ORDER BY count DESC;'
32
shirts = exec_get_all(shirtCountSQL)
33
if shirts is not None:
0 commit comments