DeliveryService: Small text fix
This commit is contained in:
@ -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}");
|
||||||
|
Reference in New Issue
Block a user