mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 04:48:24 -04:00
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:
@@ -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'
|
||||
),
|
||||
|
||||
@@ -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'
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user