feat: display teamers' average ratings in several locations
This commit is contained in:
@@ -69,8 +69,9 @@ class ApplicationRepository extends ServiceEntityRepository
|
||||
$qb = $this->createQueryBuilder('application');
|
||||
|
||||
return $qb
|
||||
->select('application', 'teamer')
|
||||
->select('application', 'teamer', 'feedback')
|
||||
->innerJoin('application.teamer', 'teamer')
|
||||
->leftJoin('teamer.feedback', 'feedback')
|
||||
->where($qb->expr()->andX(
|
||||
$qb->expr()->eq('application.assignment', ':assignment'),
|
||||
$qb->expr()->neq('application.status', ':status')
|
||||
|
||||
Reference in New Issue
Block a user