sort teams alphabetically in team_list (#2119)
This commit is contained in:
@@ -428,7 +428,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for team in teams %}
|
{% for team in teams|sort((a, b) => a.name <=> b.name) %}
|
||||||
<tr{% if is_granted('edit', team) %} class="modal-ajax-form open-edit" data-href="{{ path('admin_team_member', {'id': team.id}) }}"{% endif %}>
|
<tr{% if is_granted('edit', team) %} class="modal-ajax-form open-edit" data-href="{{ path('admin_team_member', {'id': team.id}) }}"{% endif %}>
|
||||||
<td>
|
<td>
|
||||||
{{ team.name }}
|
{{ team.name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user