Skip to content

Commit

Permalink
NoRomHash wiki module - filter published submissions since they are r…
Browse files Browse the repository at this point in the history
…edundant to the publication that is listed
  • Loading branch information
adelikat committed Aug 29, 2024
1 parent c486a4f commit 5f7d9fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TASVideos/WikiModules/NoGameVersion.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public async Task<IViewComponentResult> InvokeAsync()
v.Md5,
v.System!.Code,
v.Publications.Select(p => new NoGame.Entry(p.Id, p.Title)).ToList(),
v.Submissions.Select(s => new NoGame.Entry(s.Id, s.Title)).ToList()))
v.Submissions.Where(s => s.Status != SubmissionStatus.Published).Select(s => new NoGame.Entry(s.Id, s.Title)).ToList()))
.ToListAsync();
Submissions = await db.Submissions
.Where(s => s.GameVersionId == null || s.GameVersionId < 1)
Expand Down

0 comments on commit 5f7d9fb

Please sign in to comment.