From 0c5f5a35587bdf358bbdf1c085bacb89317e873c Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sun, 17 Aug 2025 23:20:18 -0400 Subject: [PATCH] Prevent EF Core OrderBy warning --- src/Tgstation.Server.Host/Authority/UserAuthority.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Tgstation.Server.Host/Authority/UserAuthority.cs b/src/Tgstation.Server.Host/Authority/UserAuthority.cs index d7b856a91a..7f97c2bbcf 100644 --- a/src/Tgstation.Server.Host/Authority/UserAuthority.cs +++ b/src/Tgstation.Server.Host/Authority/UserAuthority.cs @@ -242,6 +242,7 @@ namespace Tgstation.Server.Host.Authority : null, () => Queryable(false) .SelectMany(user => user.OAuthConnections!) + .OrderBy(connection => connection.Provider) .TagWith("Get User OAuthConnections")); /// @@ -252,6 +253,7 @@ namespace Tgstation.Server.Host.Authority : null, () => Queryable(false) .SelectMany(user => user.OidcConnections!) + .OrderBy(connection => connection.SchemeKey) .TagWith("Get User OIdcConnections")); ///