Reverse chronologically sort scheduled jobs

Now that scheduled jobs are mixed in with regular jobs it looks weird
for the sort order to be different. This makes the sort order
consistently go from furthest in the future to furthest in the past.

The old sort order made sense when scheduled jobs were displayed
separately on the dashboard.
This commit is contained in:
Chris Hill-Scott
2020-03-06 09:45:02 +00:00
parent fd480febb4
commit 3ad00adfb3
4 changed files with 11 additions and 10 deletions

View File

@@ -44,14 +44,14 @@ from tests.conftest import (
(
'File Messages to be sent'
),
(
'send_me_later.csv '
'Sending 1 January 2016 at 11:09am 1'
),
(
'even_later.csv '
'Sending 1 January 2016 at 11:09pm 1'
),
(
'send_me_later.csv '
'Sending 1 January 2016 at 11:09am 1'
),
(
'File Status'
),

View File

@@ -668,13 +668,13 @@ def test_uploads_page_shows_scheduled_jobs(
'File Status'
),
(
'send_me_later.csv '
'Sending 1 January 2016 at 11:09am '
'even_later.csv '
'Sending 1 January 2016 at 11:09pm '
'1 text message waiting to send'
),
(
'even_later.csv '
'Sending 1 January 2016 at 11:09pm '
'send_me_later.csv '
'Sending 1 January 2016 at 11:09am '
'1 text message waiting to send'
),
]