[WIP] Use compiled queries
Some checks failed
Test / Run tests (push) Failing after 2m6s

This commit is contained in:
2026-04-04 15:28:30 +02:00
parent bd1e579674
commit 748e1fb8bd
39 changed files with 370 additions and 359 deletions

View File

@@ -44,11 +44,7 @@ namespace Elwig.Dialogs {
}
protected override async Task OnRenewContext(AppDbContext ctx) {
ControlUtils.RenewItemsSource(MemberInput, await ctx.Members
.Where(m => m.IsActive)
.OrderBy(m => m.Name)
.ThenBy(m => m.GivenName)
.ToListAsync());
ControlUtils.RenewItemsSource(MemberInput, await ctx.FetchMembers().ToListAsync());
ControlUtils.RenewItemsSource(DeliveryInput, await ctx.Deliveries
.Where(d => d.DateString == $"{_delivery.Date:yyyy-MM-dd}" && d.ZwstId == _delivery.ZwstId)
.OrderBy(d => d.LsNr)