Commit 50e3ed1c authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Filtrages manquants sur la page 'Nos soutenances' : thèses en cours, non...

[FIX] Filtrages manquants sur la page 'Nos soutenances' : thèses en cours, non historisées ; propositions avec date de soutenance effective renseignée
parent ae65e34c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ use Structure\Service\EcoleDoctorale\EcoleDoctoraleServiceAwareTrait;
use Structure\Service\Etablissement\EtablissementServiceAwareTrait;
use Structure\Service\Structure\StructureServiceAwareTrait;
use Structure\Service\UniteRecherche\UniteRechercheServiceAwareTrait;
use These\Entity\Db\These;

class PropositionSearchService extends SearchService
{
@@ -52,6 +53,9 @@ class PropositionSearchService extends SearchService
            ->addSelect('justificatif')->leftJoin('proposition.justificatifs', 'justificatif')
            ->addSelect('avis')->leftJoin('proposition.avis', 'avis')
            ->andWhere('proposition.histoDestruction is null')
            ->andWhere('these.histoDestruction is null')
            ->andWhere('proposition.date is not null')
            ->andWhere('these.etatThese = :etatThese')->setParameter('etatThese', These::ETAT_EN_COURS)
            //->addSelect('validation')->leftJoin('proposition.validations', 'validation')
            ;