Skip to content

Commit

Permalink
order backup/restore jobs by start_time, desc
Browse files Browse the repository at this point in the history
refs: #569
  • Loading branch information
eug3nix committed Dec 20, 2024
1 parent bdeded9 commit 23ec05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgmanage/app/bgjob/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def _check_job_description(job):

@staticmethod
def list(user):
jobs = Job.objects.filter(user=user).select_related("connection")
jobs = Job.objects.filter(user=user).select_related("connection").order_by('-start_time')
changed = False

res = []
Expand Down

0 comments on commit 23ec05c

Please sign in to comment.