Commit 6dd2815c authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Création du menu 'Ma thèse' même si la thèse est soutenue

parent b54c1292
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ class ApplicationNavigationFactory extends NavigationFactory
        // Rôle Doctorant : génération d'une page "Ma thèse" pour chaque thèse du doctorant
        if ($protoPage = $page['pages'][$key = self::MA_THESE_PAGE_ID] ?? null) {
            if ($this->doctorant !== null) {
                $theses = $this->theseService->getRepository()->findThesesByDoctorant($this->doctorant, [These::ETAT_EN_COURS]);
                $theses = $this->theseService->getRepository()->findThesesByDoctorant($this->doctorant, [These::ETAT_EN_COURS, These::ETAT_SOUTENUE]);
                /////////////////////////////////// LOUVRY Isabelle 33383 : 2 thèses E et S
                $newPages = $this->createPagesMaThese($protoPage, $theses);
                $page['pages'] = array_merge($page['pages'], $newPages);