Commit c3b0abdc authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files
parent 11539c4f
Loading
Loading
Loading
Loading
+1 −1
Changes for composer.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
    "require"     : {
        "php"                       : "^7.0",
        "unicaen/app"               : "1.3.11",
        "unicaen/auth"              : "1.2.6",
        "unicaen/auth"              : "1.2.9",
        "zendframework/zend-code"   : "^2.4",
        "zendframework/zend-text"   : "^2.4",
        "bjyoungblood/bjy-authorize": "dev-master",
+15 −15
Changes for composer.lock: 15 added lines, 15 removed lines.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
        "This file is @generated automatically"
    ],
    "content-hash": "b5e5df8654cafe3d20180f129a3f17a2",
    "content-hash": "b9b695dde9dd96f5aea58310122585e4",
    "packages": [
        {
            "name": "bjyoungblood/bjy-authorize",
@@ -1223,7 +1223,7 @@
        },
        {
            "name": "symfony/console",
            "version": "v3.3.16",
            "version": "v3.3.17",
            "source": {
                "type": "git",
                "url": "https://github.com/symfony/console.git",
@@ -1291,16 +1291,16 @@
        },
        {
            "name": "symfony/debug",
            "version": "v3.4.9",
            "version": "v3.4.11",
            "source": {
                "type": "git",
                "url": "https://github.com/symfony/debug.git",
                "reference": "1b95888cfd996484527cb41e8952d9a5eaf7454f"
                "reference": "b28fd73fefbac341f673f5efd707d539d6a19f68"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/symfony/debug/zipball/1b95888cfd996484527cb41e8952d9a5eaf7454f",
                "reference": "1b95888cfd996484527cb41e8952d9a5eaf7454f",
                "url": "https://api.github.com/repos/symfony/debug/zipball/b28fd73fefbac341f673f5efd707d539d6a19f68",
                "reference": "b28fd73fefbac341f673f5efd707d539d6a19f68",
                "shasum": ""
            },
            "require": {
@@ -1343,7 +1343,7 @@
            ],
            "description": "Symfony Debug Component",
            "homepage": "https://symfony.com",
            "time": "2018-04-30T16:53:52+00:00"
            "time": "2018-05-16T14:03:39+00:00"
        },
        {
            "name": "symfony/polyfill-mbstring",
@@ -1406,16 +1406,16 @@
        },
        {
            "name": "symfony/process",
            "version": "v2.8.39",
            "version": "v2.8.41",
            "source": {
                "type": "git",
                "url": "https://github.com/symfony/process.git",
                "reference": "ee2c91470ff262b1a00aec27875d38594aa87629"
                "reference": "713952f2ccbcc8342ecdbe1cb313d3e2da8aad28"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/symfony/process/zipball/ee2c91470ff262b1a00aec27875d38594aa87629",
                "reference": "ee2c91470ff262b1a00aec27875d38594aa87629",
                "url": "https://api.github.com/repos/symfony/process/zipball/713952f2ccbcc8342ecdbe1cb313d3e2da8aad28",
                "reference": "713952f2ccbcc8342ecdbe1cb313d3e2da8aad28",
                "shasum": ""
            },
            "require": {
@@ -1451,7 +1451,7 @@
            ],
            "description": "Symfony Process Component",
            "homepage": "https://symfony.com",
            "time": "2018-04-03T05:20:27+00:00"
            "time": "2018-05-15T21:17:45+00:00"
        },
        {
            "name": "unicaen/app",
@@ -1506,11 +1506,11 @@
        },
        {
            "name": "unicaen/auth",
            "version": "1.2.6",
            "version": "1.2.9",
            "source": {
                "type": "git",
                "url": "https://git.unicaen.fr/lib/unicaen/auth.git",
                "reference": "1f7658396139734e9d4c0dfd46bd14011e2b5e8d"
                "reference": "345436e28c3543f5adb8a3133cb4f84da8df5683"
            },
            "require": {
                "bjyoungblood/bjy-authorize": ">=1.4",
@@ -1532,7 +1532,7 @@
                ]
            },
            "description": "Module d'authentification pour les applications Unicaen",
            "time": "2018-04-09T07:41:56+00:00"
            "time": "2018-05-28T13:19:03+00:00"
        },
        {
            "name": "unicaen/code",
+28 −1
Changes for module/Application/src/Application/Form/OffreFormation/ElementPedagogiqueRechercheFieldset.php: 28 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -33,6 +33,8 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset implements En

    protected $etapeName        = 'etape';

    protected $elementId        = 'element';

    protected $structureEnabled = true;

    protected $niveauEnabled    = true;
@@ -145,7 +147,7 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset implements En
                ],
            ],
            'attributes' => [
                'id'    => 'element',
                'id'    => $this->getElementId(),
                'title' => "Saisissez 2 lettres au moins",
                'class' => 'element-pedagogique element-pedagogique-element input-sm',
            ],
@@ -323,6 +325,31 @@ class ElementPedagogiqueRechercheFieldset extends AbstractFieldset implements En



    /**
     * @return string
     */
    public function getElementId(): string
    {
        return $this->elementId;
    }



    /**
     * @param string $elementId
     *
     * @return ElementPedagogiqueRechercheFieldset
     */
    public function setElementId(string $elementId): ElementPedagogiqueRechercheFieldset
    {
        $this->elementId = $elementId;
        $this->get('element')->setAttribute('id', $elementId);

        return $this;
    }



    /**
     * Should return an array specification compatible with
     * {@link Zend\InputFilter\Factory::createInputFilter()}.
+1
Changes for module/Application/src/Application/Form/Service/RechercheForm.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -183,6 +183,7 @@ class RechercheForm extends AbstractForm implements EntityManagerAwareInterface,


        $elementPedagogique = $this->getFieldsetOffreFormationElementPedagogiqueRecherche();
        $elementPedagogique->setElementId('element-recherche');
        $elementPedagogique->setName('element-pedagogique');
        $elementPedagogique->setLabel('Enseignement :');
        $elementPedagogique->setNiveauEnabled(false);