Commit 4b4e2e8c authored by joriot221's avatar joriot221
Browse files

Correction ajout type formation

Correction filtre histo formulaire type formation pour groupe type formation
parent 9140d7cd
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ class TypeFormationController extends AbstractController

    public function indexAction()
    {

        $dql                  = "SELECT gtf,tf FROM " . GroupeTypeFormation::class . " gtf 
            LEFT JOIN gtf.typeFormation tf WITH tf.histoDestruction is null
            WHERE gtf.histoDestruction is null
@@ -45,6 +44,10 @@ class TypeFormationController extends AbstractController

    public function saisieAction()
    {
        $this->em()->getFilters()->enable('historique')->init([
            GroupeTypeFormation::class,
        ]);

        $typeFormations = $this->getEvent()->getParam('typeFormation');
        $form           = $this->getFormTypeFormationSaisie();

+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ class TypeFormation implements HistoriqueAwareInterface, ImportAwareInterface
    /**
     * @return int
     */
    public function getId(): int
    public function getId(): ?int
    {
        return $this->id;
    }