Skip to content

Commit

Permalink
first edition tas: use publication date, not submission date (#1925)
Browse files Browse the repository at this point in the history
  • Loading branch information
Masterjun3 authored Jul 28, 2024
1 parent 080a87d commit 1d6877d
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 1d6877d

Please sign in to comment.