[Pkg-debile-commits] [debile-web] 15/16: Order by the type of build (fix a display issue)
Sylvestre Ledru
sylvestre at alioth.debian.org
Thu Aug 29 10:11:11 UTC 2013
This is an automated email from the git hooks/post-receive script.
sylvestre pushed a commit to branch update-usuability
in repository debile-web.
commit fda6fb8c8b360b6b2ea1bc1022ace7d88d11fcf5
Author: Sylvestre Ledru <sylvestre at debian.org>
Date: Thu Aug 29 11:42:05 2013 +0200
Order by the type of build (fix a display issue)
---
debileweb/blueprints/frontend.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debileweb/blueprints/frontend.py b/debileweb/blueprints/frontend.py
index 514b938..f781630 100644
--- a/debileweb/blueprints/frontend.py
+++ b/debileweb/blueprints/frontend.py
@@ -241,6 +241,7 @@ def source(package_name="", owner_name="fred", package_version="latest", run_num
source_jobs = session.query(Job)\
.options(joinedload('machine'))\
.filter(Job.package == package)\
+ .order_by(Job.type, Job.subtype)\
.all()
total = len(source_jobs)
@@ -267,7 +268,7 @@ def source(package_name="", owner_name="fred", package_version="latest", run_num
.options(joinedload('machine'))\
.join(Binary, Job.package_id == Binary.package_id)\
.filter(Binary.source_id == package.source_id)\
- .order_by(Job.type, Binary.name)\
+ .order_by(Job.type, Job.subtype, Binary.name)\
.all()
binaries_jobs_info = []
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-web.git
More information about the Pkg-debile-commits
mailing list