diff --git a/dao/replication_job.go b/dao/replication_job.go index 1c5a31cbc..38e155bc2 100644 --- a/dao/replication_job.go +++ b/dao/replication_job.go @@ -342,7 +342,7 @@ func FilterRepJobs(policyID int64, repository, status string, startTime, qs = qs.Limit(limit) } - qs = qs.OrderBy("-CreationTime") + qs = qs.OrderBy("-UpdateTime") var jobs []*models.RepJob _, err := qs.All(&jobs)