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

Ajout d'ordre

parent e4bd5412
Loading
Loading
Loading
Loading
+1
Changes for module/Application/src/Application/Service/AgentAffectation/AgentAffectationService.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ class AgentAffectationService {
        $qb = $this->createQueryBuilder()
            ->andWhere('agentaffectation.agent = :agent')
            ->setParameter('agent', $agent)
            ->orderBy('agentaffectation.dateDebut', 'DESC')
        ;

        if ($actif === true) $qb = AgentAffectation::decorateWithActif($qb, 'agentaffectation');
+1
Changes for module/Application/src/Application/Service/AgentGrade/AgentGradeService.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ class AgentGradeService {
        $qb = $this->createQueryBuilder()
            ->andWhere('agentgrade.agent = :agent')
            ->setParameter('agent', $agent)
            ->orderBy('agentgrade.dateDebut', 'DESC')
        ;

        if ($actif === true) $qb = AgentGrade::decorateWithActif($qb, 'agentgrade');
+1
Changes for module/Application/src/Application/Service/AgentStatut/AgentStatutService.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ class AgentStatutService {
        $qb = $this->createQueryBuilder()
            ->andWhere('agentstatut.agent = :agent')
            ->setParameter('agent', $agent)
            ->orderBy('agentstatut.dateDebut', 'DESC')
        ;

        if ($actif === true) $qb = AgentStatut::decorateWithActif($qb, 'agentstatut');