Add platforms to metadata search results

This commit is contained in:
Pat Hartl 2026-06-04 01:29:31 -05:00
parent 819cb28d17
commit 113d8bd080
4 changed files with 53 additions and 8 deletions

View file

@ -38,8 +38,13 @@
<Selection Key="@context.Id" Type="SelectionType.Radio"/>
<PropertyColumn Property="g => g.Data.Title" Title="Title"/>
<PropertyColumn Property="g => g.Data.ReleasedOn" Format="MM/dd/yyyy" Title="Released"/>
<PropertyColumn Property="g => g.Data.Developers">
<PropertyColumn Property="g => g.Data.ReleasedOn" Title="Released">
@(context.Data.ReleasedOn != default ? context.Data.ReleasedOn.ToString("MM/dd/yyyy") : "—")
</PropertyColumn>
<PropertyColumn Property="g => g.Data.Platforms" Title="Platforms">
@string.Join(", ", context.Data.Platforms?.Select(p => p.Name) ?? [])
</PropertyColumn>
<PropertyColumn Property="g => g.Data.Developers" Title="Developers">
@string.Join(", ", context.Data.Developers?.Select(d => d.Name) ?? [])
</PropertyColumn>
</Table>