Commit 9ce2cf66 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

travail sur les charges qui débute, meilleur tri & affichage des hiérarchies...

travail sur les charges qui débute, meilleur tri & affichage des hiérarchies dans la popover de choix de profil
parent 48c3e1e7
Loading
Loading
Loading
Loading
+2
Changes for code/test7.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -7,3 +7,5 @@
 * @var $viewName   string
 * @var $viewFile   string
 */

echo str_repeat('.', 3);
 No newline at end of file
+6 −1
Changes for data/ddl/package/OSE_DIVERS/body.sql: 6 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -76,7 +76,9 @@ CREATE OR REPLACE PACKAGE BODY "OSE_DIVERS" AS
    FOR str IN (
      SELECT
        id, COALESCE(ids,'-') oids,
        SYS_CONNECT_BY_PATH(id, '-') || '-' nids
        SYS_CONNECT_BY_PATH(id, '-') || '-' nids,
        COALESCE(libelles_courts, '||') olibelles_courts,
        SYS_CONNECT_BY_PATH(libelle_court, '||') || '||' nlibelles_courts
      FROM
        structure
      CONNECT BY
@@ -86,6 +88,9 @@ CREATE OR REPLACE PACKAGE BODY "OSE_DIVERS" AS
      IF str.oids <> str.nids THEN
        UPDATE structure SET ids = str.nids WHERE id = str.id;
      END IF;
      IF str.olibelles_courts <> str.nlibelles_courts THEN
        UPDATE structure SET libelles_courts = str.nlibelles_courts WHERE id = str.id;
      END IF;
    END LOOP;

    -- mise à 1 du témoin enseignement si des éléments sont dans la structure
+12
Changes for data/ddl/table/STRUCTURE.php: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -249,6 +249,18 @@ return [
            'position'    => 25,
            'commentaire' => NULL,
        ],
        'LIBELLES_COURTS'         => [
            'name'        => 'LIBELLES_COURTS',
            'type'        => 'string',
            'bdd-type'    => 'VARCHAR2',
            'length'      => 4000,
            'scale'       => NULL,
            'precision'   => NULL,
            'nullable'    => TRUE,
            'default'     => NULL,
            'position'    => 26,
            'commentaire' => NULL,
        ],
        'LIBELLE_COURT'           => [
            'name'        => 'LIBELLE_COURT',
            'type'        => 'string',
+1
Changes for data/ddl_columns_pos.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -1370,6 +1370,7 @@ return [
        'ADRESSE_VOIRIE_ID',
        'STRUCTURE_ID',
        'IDS',
        'LIBELLES_COURTS',
    ],
    'SYNC_LOG'                       => [
        'ID',
+1 −1
Changes for module/Application/src/Controller/ChargensController.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -252,7 +252,7 @@ class ChargensController extends AbstractController

        if ($scenario) {
            if (($ss = $scenario->getStructure()) && ($cs = $this->getServiceContext()->getStructure())) {
                if ($ss != $cs) {
                if (!$ss->inStructure($cs)) {
                    throw new UnAuthorizedException('Les données appartiennent à une autre composante. Vous ne pouvez pas y accéder');
                }
            }
Loading