mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Improve road number sorting and enforce company on consists
This commit is contained in:
@@ -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])
|
||||
|
Reference in New Issue
Block a user