Broaden admin vote list to include suggestors
This commit is contained in:
@@ -41,7 +41,7 @@ public static class AdminEndpoints
|
||||
|
||||
var voters = await db.Players
|
||||
.AsNoTracking()
|
||||
.Where(p => p.CurrentPhase == Phase.Vote)
|
||||
.Where(p => p.CurrentPhase == Phase.Vote || p.Suggestions.Any())
|
||||
.OrderBy(p => p.DisplayName ?? p.Username)
|
||||
.Select(p => new VoteStatusDto(p.Id, p.DisplayName ?? p.Username, p.VotesFinal))
|
||||
.ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user