Add search for games and orders
All checks were successful
Game Ideas build for PR / build_blazor_app (pull_request) Successful in 48s

This commit is contained in:
Maxime Adler
2025-04-18 15:20:13 +02:00
parent 5889216dfa
commit b66bb911f1
9 changed files with 132 additions and 70 deletions

View File

@@ -4,7 +4,6 @@ using GameIdeas.BlazorApp.Shared.Models;
using GameIdeas.Shared.Dto;
using GameIdeas.Shared.Enum;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
namespace GameIdeas.BlazorApp.Pages.Games.Filter;
@@ -23,10 +22,10 @@ public partial class GameFilter
];
private readonly List<SortPropertyDto> GameProperties = [
new() { PropertyName = nameof(GameDetailDto.Title), Label = "Titre" },
new() { PropertyName = nameof(GameDetailDto.ReleaseDate), Label = "Date de parution" },
new() { PropertyName = nameof(GameDetailDto.StorageSpace), Label = "Espace de stockage" },
new() { PropertyName = nameof(GameDetailDto.Interest), Label = "Inter<65>t" }
new() { PropertyName = nameof(GameIdeas.Shared.Model.Game.Title), Label = "Titre" },
new() { PropertyName = nameof(GameIdeas.Shared.Model.Game.ReleaseDate), Label = "Date de parution" },
new() { PropertyName = nameof(GameIdeas.Shared.Model.Game.StorageSpace), Label = "Espace de stockage" },
new() { PropertyName = nameof(GameIdeas.Shared.Model.Game.Interest), Label = "Inter<65>t" }
];
private SelectParams<SortPropertyDto, SortTypeDto> SelectParams = new();