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

Ajout des UR fermé dans le filtre

parent 8bc1b27c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -662,7 +662,7 @@ class StructureService extends BaseService
            ->leftJoin('structure.structuresSubstituees', 'substitutionFrom')
            ->andWhere('substitutionTo.id IS NULL OR substitutionTo.histoDestruction is not null');
        if ($order) {
            $qb->orderBy(' structure.' . $order);
            $qb->orderBy(' structure.estFermee , structure.' . $order);
        }
        else {
            if ($type === TypeStructure::CODE_ECOLE_DOCTORALE || $type === TypeStructure::CODE_UNITE_RECHERCHE) {
+1 −1
Original line number Diff line number Diff line
@@ -371,7 +371,7 @@ EOS;

    private function fetchUnitesRecherches(SelectSearchFilter $filter): array
    {
        return $this->structureService->getAllStructuresAffichablesByType(TypeStructure::CODE_UNITE_RECHERCHE, 'code', false, true);
        return $this->structureService->getAllStructuresAffichablesByType(TypeStructure::CODE_UNITE_RECHERCHE, 'code', true, true);
    }

    private function fetchOriginesFinancements(SelectSearchFilter $filter): array