Commit ea017960 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Tentative d'amélioration de la remonté des agent dans les structures

parent aab8e5f6
Loading
Loading
Loading
Loading
+2 −1
Changes for module/Application/src/Application/Service/Agent/AgentService.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -230,7 +230,8 @@ class AgentService {
            ->addSelect('fiche')->leftJoin('agent.fiches', 'fiche')
            ->andWhere('statut.fin >= :today OR statut.fin IS NULL')
            ->andWhere('grade.dateFin >= :today OR grade.dateFin IS NULL')
            ->andWhere('statut.administratif = :true')
//            ->andWhere('statut.administratif = :true')
            ->andWhere('statut.enseignant = :false AND statut.chercheur = :false AND statut.etudiant = :false')
            //->andWhere('fiche.id IS NULL')
            ->setParameter('today', $today)
            ->setParameter('true', 'O')