Fix error when getting players from a log

Also potentially fix FilterTests.Date
This commit is contained in:
DrSmugleaf
2021-11-24 19:57:27 +01:00
parent f0da92b40d
commit dc9ae49126
2 changed files with 3 additions and 0 deletions

View File

@@ -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())
{