Skip to content

Commit

Permalink
fix fr this time
Browse files Browse the repository at this point in the history
  • Loading branch information
Simyon264 committed Feb 22, 2024
1 parent fe1ad4c commit 0f2ced0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Server/Api/ReplayController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ [FromQuery] string query
var replays = await _context.Replays
.Include(r => r.RoundEndPlayers)
.OrderByDescending(r => r.Date ?? DateTime.MinValue)
.ToListAsync().Reverse();
.ToListAsync();

replays.Reverse();
var found = ReplayParser.SearchReplays(searchMode, query, replays);
return Ok(found);
}
Expand Down

0 comments on commit 0f2ced0

Please sign in to comment.