~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/model/packagecopyjob.py

  • Committer: Jeroen Vermeulen
  • Date: 2011-05-19 16:57:57 UTC
  • mto: (7675.1045.390 db-devel)
  • mto: This revision was merged to the branch mainline in revision 13163.
  • Revision ID: jeroen.vermeulen@canonical.com-20110519165757-j0ec5gshu776f301
Missing order_by... where did I lose it?

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
            PackageCopyJob.target_archive == target_archive,
176
176
            Job.id == PackageCopyJob.job_id,
177
177
            Job._status == JobStatus.WAITING)
 
178
        jobs = jobs.order_by(PackageCopyJob.id)
178
179
        return DecoratedResultSet(jobs, cls)
179
180
 
180
181
    @property