trier les formulaires par ordre alpha (ref #87)

This commit is contained in:
afornerot 2020-02-24 14:04:35 +01:00
parent 103c2e826c
commit 50431e54ee
1 changed files with 4 additions and 0 deletions

View File

@ -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,