diff --git a/module/Application/src/Application/Controller/AgentController.php b/module/Application/src/Application/Controller/AgentController.php
index 0c47e4288a7b53f6e1dcb18365bbe3da916da729..ac4795bf9a75852e6019fb011edabb796e74bd72 100644
--- a/module/Application/src/Application/Controller/AgentController.php
+++ b/module/Application/src/Application/Controller/AgentController.php
@@ -130,7 +130,7 @@ class AgentController extends AbstractActionController
 
         //Récupération des status
         $agentStatuts = $this->getAgentStatutService()->getAgentStatutsByAgent($agent);
-        $agentAffectations = $this->getAgentAffectationService()->getAgentAffectationsByAgent($agent,true,false,false);
+        $agentAffectations = $this->getAgentAffectationService()->getAgentAffectationsByAgent($agent);
         $agentGrades = $this->getAgentGradeService()->getAgentGradesByAgent($agent);
 
         //Récupération des supérieures et autorités
diff --git a/module/Application/src/Application/Service/Agent/AgentService.php b/module/Application/src/Application/Service/Agent/AgentService.php
index 9cd20bed40b1c994104ce3d9d016ecf44719a3c6..77517860bbc66fb90c9a95696ceab47d1bbae64e 100644
--- a/module/Application/src/Application/Service/Agent/AgentService.php
+++ b/module/Application/src/Application/Service/Agent/AgentService.php
@@ -355,7 +355,7 @@ class AgentService {
         if (!empty($liste)) return $liste;
 
        //checking structure
-       $affectationsPrincipales = $this->getAgentAffectationService()->getAgentAffectationsByAgent($agent, true, true, false);
+       $affectationsPrincipales = $this->getAgentAffectationService()->getAgentAffectationsByAgent($agent);
        if (count($affectationsPrincipales) !== 1) return []; //throw new LogicException("Plusieurs affectations principales pour l'agent ".$agent->getId() . ":".$agent->getDenomination());
 
        $structure = $affectationsPrincipales[0]->getStructure();
@@ -394,7 +394,7 @@ class AgentService {
         if ($superieurs === null) $superieurs = $this->computeSuperieures($agent, $date);
 
         //checking structure
-        $affectationsPrincipales = $this->getAgentAffectationService()->getAgentAffectationsByAgent($agent, true, true, false);
+        $affectationsPrincipales = $this->getAgentAffectationService()->getAgentAffectationsByAgent($agent);
         $structure = null;
         if (count($affectationsPrincipales) === 1) {
             $structure = $affectationsPrincipales[0]->getStructure()->getNiv2();