diff options
author | Christopher Baines <mail@cbaines.net> | 2018-06-22 07:40:00 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-06-22 07:40:00 +0100 |
commit | a1897e5d322ca753ffd6073eeda84cc5f057bf5a (patch) | |
tree | 4a48eb1a962eb6986f3668b95af4661d82ea0af4 /app/jobs | |
parent | 4fbb412eaba21274919293f0b288c41da38c99a1 (diff) | |
download | govuk-mini-environment-admin-a1897e5d322ca753ffd6073eeda84cc5f057bf5a.tar govuk-mini-environment-admin-a1897e5d322ca753ffd6073eeda84cc5f057bf5a.tar.gz |
Reverse the jobs order on the mini environments show page
It's more useful to have the most recent jobs at the top.
Diffstat (limited to 'app/jobs')
-rw-r--r-- | app/jobs/mini_environment_job.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/jobs/mini_environment_job.rb b/app/jobs/mini_environment_job.rb index 1e41954..92f9919 100644 --- a/app/jobs/mini_environment_job.rb +++ b/app/jobs/mini_environment_job.rb @@ -39,6 +39,6 @@ class MiniEnvironmentJob < Que::Job job_class: name ).where( "args->>0 = '#{mini_environment_id}'" - ).to_a + ) end end |