DeliveryJournal: Fix ordering 2
This commit is contained in:
@ -285,7 +285,12 @@ namespace Elwig.Windows {
|
||||
deliveryQuery = deliveryQuery.Where(d => d.Year == SeasonInput.Value);
|
||||
filterNames.Add(SeasonInput.Value.ToString() ?? "");
|
||||
}
|
||||
IQueryable<DeliveryPart> dpq = deliveryQuery.SelectMany(d => d.Parts).OrderBy(p => p.Delivery.DateString).ThenBy(p => p.Delivery.TimeString);
|
||||
IQueryable<DeliveryPart> dpq = deliveryQuery
|
||||
.SelectMany(d => d.Parts)
|
||||
.OrderBy(p => p.Delivery.DateString)
|
||||
.ThenBy(p => p.Delivery.TimeString)
|
||||
.ThenBy(p => p.Delivery.LsNr)
|
||||
.ThenBy(p => p.DPNr);
|
||||
|
||||
// TODO add filter for:
|
||||
// attributes
|
||||
|
Reference in New Issue
Block a user