Skip to content

Commit

Permalink
Merge pull request #3526 from ingef/feature/sort-admin-ui-dropdowns
Browse files Browse the repository at this point in the history
sort dropdown options in admin-ui
  • Loading branch information
thoniTUB authored Aug 14, 2024
2 parents 21d5916 + 2a67e1d commit 71e2cee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="form-group">
<label for="group_id">Group:</label>
<select class="form-control" id="group_id" name="group_id">
<#list c.availableGroups as group>
<#list c.availableGroups?sort_by("label") as group>
<option value="${group.id}">${group.label} - ${group.id}</option>
</#list>
</select>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="form-group">
<label for="role_id">Role:</label>
<select class="form-control" id="role_id" name="role_id">
<#list c.availableRoles as role>
<#list c.availableRoles?sort_by("label") as role>
<option value="${role.id}">${role.label} - ${role.id}</option>
</#list>
</select>
Expand Down

0 comments on commit 71e2cee

Please sign in to comment.