Fix error when getting players from a log
Also potentially fix FilterTests.Date
This commit is contained in:
@@ -47,6 +47,8 @@ public class FilterTests : ContentIntegrationTest
|
||||
|
||||
sAdminLogSystem.Add(LogType.Unknown, $"{entity:Entity} test log: {commonGuid} {guids[i]}");
|
||||
});
|
||||
|
||||
await server.WaitRunTicks(100);
|
||||
}
|
||||
|
||||
await WaitUntil(server, async () =>
|
||||
|
||||
@@ -635,6 +635,7 @@ namespace Content.Server.Database
|
||||
{
|
||||
await using var db = await GetDb();
|
||||
var query = await GetAdminLogsQuery(db.DbContext, filter);
|
||||
query = query.Include(log => log.Players);
|
||||
|
||||
await foreach (var log in query.AsAsyncEnumerable())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user