From 8d62ce46c6c2ecf887098e4d75eccb17f2cf1619 Mon Sep 17 00:00:00 2001 From: nobohan Date: Fri, 29 Apr 2022 21:44:02 +0200 Subject: [PATCH] admin: order user job type --- .../ChillMainBundle/Resources/views/UserJob/index.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/views/UserJob/index.html.twig b/src/Bundle/ChillMainBundle/Resources/views/UserJob/index.html.twig index 8f037f150..392ae79fd 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/UserJob/index.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/UserJob/index.html.twig @@ -8,7 +8,7 @@   {% endblock %} {% block table_entities_tbody %} - {% for entity in entities %} + {% for entity in entities|sort((a, b) => a.label|localize_translatable_string <=> b.label|localize_translatable_string) %} {{ entity.id }} {{ entity.label|localize_translatable_string }} @@ -23,4 +23,4 @@ {% endfor %} {% endblock %} {% endembed %} -{% endblock content %} +{% endblock content %} \ No newline at end of file