We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3002fb3 commit 3140d4aCopy full SHA for 3140d4a
webapp/src/Controller/Team/MiscController.php
@@ -103,8 +103,7 @@ public function homeAction(Request $request): Response
103
->leftJoin('c.sender', 's')
104
->leftJoin('c.recipient', 'r')
105
->select('c', 'cp', 'p')
106
- ->andWhere('c.contest = :contest')
107
- ->andWhere('cp.contest = :contest')
+ ->andWhere('c.contest = :contest OR cp.contest = :contest')
108
->andWhere('c.sender IS NULL')
109
->andWhere('c.recipient = :team OR c.recipient IS NULL')
110
->setParameter('contest', $contest)
0 commit comments