case 4244

This commit is contained in:
2022-11-14 18:42:46 +00:00
parent 052e2b1fde
commit 95efd25faf

View File

@@ -174,7 +174,7 @@ namespace AyaNova.Biz
//https://docs.microsoft.com/en-us/ef/core/querying/related-data
//docs say this will not query twice but will recognize the duplicate woitem bit which is required for multiple grandchild collections
return await ct.Quote.AsSplitQuery().AsNoTracking()
.Include(s => s.States)
.Include(s => s.States.OrderBy(item=> item.Id))
.Include(w => w.Items.OrderBy(item => item.Sequence))
.ThenInclude(wi => wi.Expenses)
.Include(w => w.Items)