diff --git a/app/entities.py b/app/entities.py index 8a3df07..d21fc0b 100644 --- a/app/entities.py +++ b/app/entities.py @@ -77,7 +77,8 @@ class Vehicle(db.Model): order_by="asc(Pitstop.odometer)" ) services = db.relationship( - 'Service' + 'Service', + order_by = "asc(Service.odometer)" ) consumables = db.relationship( 'Consumable',