diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php index a3c79a01..38bd438c 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php @@ -1865,6 +1865,10 @@ class PagewidgetController extends Controller } } + // Trier les item par title + $title = array_column($items, 'title'); + array_multisort($title, SORT_ASC, $items); + // Render return $this->render($this->labelentity.':viewappexternal.html.twig', [ 'entity' => $entity,