Improve road number sorting and enforce company on consists

This commit is contained in:
2022-07-15 18:10:18 +02:00
parent e55f953c8a
commit 70c12c69b2
5 changed files with 64 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ def order_by_fields():
fields = ["rolling_class__type",
"rolling_class__company",
"rolling_class__identifier",
"road_number"]
"road_number_cleaned"]
if order_by == "type":
return (fields[0], fields[1], fields[2], fields[3])