Skip to content

Commit

Permalink
Merge branch 'next' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-bstein committed Oct 30, 2023
2 parents 2babc0c + 7fa3158 commit 1214070
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ IStore store
.Include(p => p.Challenges.Where(c => c.PlayerMode == PlayerMode.Competition))
.Include(p => p.User)
.Include(p => p.Sponsor)
.Where(p => p.Challenges.Any(c => c.PlayerMode == PlayerMode.Competition));
.Where(p => p.Challenges.Any(c => c.PlayerMode == PlayerMode.Competition))
.Where(p => p.TeamId != null && p.TeamId != string.Empty);

if (enrollDateStart != null)
query = query
Expand Down Expand Up @@ -125,7 +126,6 @@ public async Task<EnrollmentReportRawResults> GetRawResults(EnrollmentReportPara
MaxPossiblePoints = c.Points
})
})
.Where(p => p.TeamId is not null && p.TeamId != string.Empty)
.GroupBy(p => p.TeamId)
.ToDictionary(g => g.Key, g => g.ToList());

Expand Down

0 comments on commit 1214070

Please sign in to comment.