admin: order user job type

This commit is contained in:
nobohan 2022-04-29 21:44:02 +02:00
parent fabf23f1f0
commit 8d62ce46c6

View File

@ -8,7 +8,7 @@
<th>&nbsp;</th>
{% 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) %}
<tr>
<td>{{ entity.id }}</td>
<td>{{ entity.label|localize_translatable_string }}</td>
@ -23,4 +23,4 @@
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock content %}
{% endblock content %}