Skip to content

Commit 3d250ef

Browse files
authored
Update statistics.py
1 parent 42fc798 commit 3d250ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/data/statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def getHackerStatistics() -> dict:
2727
statistics["schools"] = None
2828

2929
# ===== T Shirt Sizes
30-
shirtCountSQL = 'SELECT count(*) as count, shirt_size FROM Applications WHERE status in (\'ACCEPTED\', \'CONFIRMED\') ' \
30+
shirtCountSQL = 'SELECT count(*) as count, shirt_size FROM Applications WHERE status in (\'ACCEPTED\', \'CONFIRMED\') AND NOT is_virtual ' \
3131
'GROUP BY shirt_size ORDER BY count DESC;'
3232
shirts = exec_get_all(shirtCountSQL)
3333
if shirts is not None:

0 commit comments

Comments
 (0)