Skip to content

Commit

Permalink
first edition tas: use publication date, not submission date
Browse files Browse the repository at this point in the history
  • Loading branch information
Masterjun3 committed Jul 28, 2024
1 parent 2a8cab2 commit 274c92c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TASVideos/WikiModules/FirstEditionTas.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public async Task<IViewComponentResult> InvokeAsync(DateTime? before, DateTime?
firstEditions = await db.Publications
.GroupBy(
gkey => new { gkey.GameId },
gvalue => new { gvalue.Id, gvalue.Submission!.CreateTimestamp })
gvalue => new { gvalue.Id, gvalue.CreateTimestamp })
.Select(g => new FirstEditionGame
{
GameId = g.Key.GameId,
Expand All @@ -34,7 +34,7 @@ public async Task<IViewComponentResult> InvokeAsync(DateTime? before, DateTime?
firstEditions = await db.Publications
.GroupBy(
gkey => new { gkey.Game!.DisplayName },
gvalue => new { gvalue.Id, gvalue.Submission!.CreateTimestamp })
gvalue => new { gvalue.Id, gvalue.CreateTimestamp })
.Select(g => new FirstEditionGame
{
GameName = g.Key.DisplayName,
Expand Down

0 comments on commit 274c92c

Please sign in to comment.