Commit f54abe98 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Des addSelect() oubliés dans des requêtes Doctrine sur les structures

parent a098bfe3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ class DoctorantRepository extends DefaultEntityRepository
    {
        $qb = $this->createQueryBuilder('d');
        $qb
            ->addSelect('i')
            ->addSelect('i, t, ed, s')
            ->join('d.individu', 'i')
            ->join('d.theses', 't', Join::WITH, 't.etatThese = :etat')->setParameter('etat', These::ETAT_EN_COURS)
            ->join('t.ecoleDoctorale', 'ed')
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ class ActeurRepository extends DefaultEntityRepository
        }

        $qb = $this->createQueryBuilder('a')
            ->addSelect('i')
            ->addSelect('i, r, t, ed, s')
            ->join('a.individu', 'i')
            ->join('a.role', 'r', Join::WITH, 'r.code = :role')->setParameter('role', $role)
            ->join('a.these', 't', Join::WITH, 't.etatThese = :etat')->setParameter('etat', These::ETAT_EN_COURS)