Skip to content

Commit 3140d4a

Browse files
authored
fix: no clearfication on team dashboard
1 parent 3002fb3 commit 3140d4a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

webapp/src/Controller/Team/MiscController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ public function homeAction(Request $request): Response
103103
->leftJoin('c.sender', 's')
104104
->leftJoin('c.recipient', 'r')
105105
->select('c', 'cp', 'p')
106-
->andWhere('c.contest = :contest')
107-
->andWhere('cp.contest = :contest')
106+
->andWhere('c.contest = :contest OR cp.contest = :contest')
108107
->andWhere('c.sender IS NULL')
109108
->andWhere('c.recipient = :team OR c.recipient IS NULL')
110109
->setParameter('contest', $contest)

0 commit comments

Comments
 (0)