DeliveryService: Small text fix

This commit is contained in:
2024-09-02 23:43:52 +02:00
parent 5eda25ed14
commit 22514715c1

View File

@ -389,11 +389,11 @@ namespace Elwig.Services {
if (filterOeLt > 0) prd = prd.And(p => p.Kmw * (4.54 + 0.022 * p.Kmw) < filterOeLt); if (filterOeLt > 0) prd = prd.And(p => p.Kmw * (4.54 + 0.022 * p.Kmw) < filterOeLt);
if (filterWeightGt > 0 && filterWeightLt > 0) { if (filterWeightGt > 0 && filterWeightLt > 0) {
filterNames.Insert(0, $"{filterWeightGt:N0}{filterWeightLt:N0} kg"); filterNames.Add($"{filterWeightGt:N0}{filterWeightLt:N0} kg");
} else if (filterWeightGt > 0) { } else if (filterWeightGt > 0) {
filterNames.Insert(0, $"ab {filterWeightGt:N0} kg"); filterNames.Add($"ab {filterWeightGt:N0} kg");
} else if (filterWeightLt > 0) { } else if (filterWeightLt > 0) {
filterNames.Insert(0, $"unter {filterWeightLt:N0} kg"); filterNames.Add($"bis {filterWeightLt:N0} kg");
} }
if (filterYearGt > 0 && filterYearLt > 0) { if (filterYearGt > 0 && filterYearLt > 0) {
filterNames.Insert(0, $"{filterYearGt}{filterYearLt - 1}"); filterNames.Insert(0, $"{filterYearGt}{filterYearLt - 1}");