1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

Fix ordering of admins by level, then name

This commit is contained in:
RaidMax
2019-09-27 15:49:03 -05:00
parent 87c1880268
commit df19181cda

View File

@ -93,7 +93,8 @@ namespace WebfrontCore.Controllers
public async Task<IActionResult> PrivilegedAsync()
{
var admins = (await Manager.GetClientService().GetPrivilegedClients())
.OrderBy(_client => _client.Name);
.OrderByDescending(_client => _client.Level)
.ThenBy(_client => _client.Name);
var adminsDict = new Dictionary<EFClient.Permission, IList<ClientInfo>>();