From 6c5f9f4cb277317c74ba3d2a927f1faeb8ee8152 Mon Sep 17 00:00:00 2001 From: Martyn Inglis Date: Mon, 14 Mar 2016 16:50:02 +0000 Subject: [PATCH] Fix ordering of jobs --- app/main/views/dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/dashboard.py b/app/main/views/dashboard.py index e0c2a84ab..969017366 100644 --- a/app/main/views/dashboard.py +++ b/app/main/views/dashboard.py @@ -41,7 +41,7 @@ def service_dashboard(service_id): raise e return render_template( 'views/service_dashboard.html', - jobs=list(reversed(jobs))[:5], + jobs=jobs[:5], more_jobs_to_show=(len(jobs) > 5), free_text_messages_remaining='250,000', spent_this_month='0.00',