From fe6fe39800b1a52f32d951a92ea2dfc426663c9e Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sat, 14 Sep 2019 17:22:47 -0500 Subject: [PATCH] don't group admin list by alias id --- WebfrontCore/Controllers/ClientController.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/WebfrontCore/Controllers/ClientController.cs b/WebfrontCore/Controllers/ClientController.cs index 63787ac75..46623804b 100644 --- a/WebfrontCore/Controllers/ClientController.cs +++ b/WebfrontCore/Controllers/ClientController.cs @@ -93,9 +93,7 @@ namespace WebfrontCore.Controllers public async Task PrivilegedAsync() { var admins = (await Manager.GetClientService().GetPrivilegedClients()) - .GroupBy(a => a.AliasLinkId) - .Select(_client => _client.OrderByDescending(_c => _c.LastConnection).First()) - .OrderByDescending(_client => _client.Level); + .OrderBy(_client => _client.Name); var adminsDict = new Dictionary>();