Commit 40259595 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

WIP renommage clé 'url' en 'select'

parent 773cbcb9
Loading
Loading
Loading
Loading
+2 −1
Changes for module/Portfolio/src/Portfolio/Service/PublicationSelectProvider.php: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ class PublicationSelectProvider implements SelectProviderInterface
    {
//        $this->idsHal = ['1112100', '201165233'];
        $this->idsHal = $this->fetchIdsHal();
        $this->idsHal = array_slice($this->idsHal, 0, 20);

        return array_map(
            function ($id) {
@@ -28,7 +29,7 @@ class PublicationSelectProvider implements SelectProviderInterface
                    : $this->urlTemplateIdString;

                return [
                    'url' => sprintf($template, $id),
                    'select' => sprintf($template, $id),
                    'columns' => [
                        'individu_hal_id' => $id,
                    ],