Order results by live date ascending order

This commit is contained in:
Pea Tyczynska
2019-05-01 11:04:05 +01:00
parent 382d1de857
commit 83f39730d0
2 changed files with 19 additions and 14 deletions

View File

@@ -127,6 +127,8 @@ def dao_fetch_live_services_data():
Service.volume_email,
Service.volume_letter,
this_year_ft_billing.c.notification_type
).order_by(
asc(Service.go_live_at)
).all()
results = []
for row in data: