[copr] master: Only display 10 builds per page (6c807db)

bkabrda at fedoraproject.org bkabrda at fedoraproject.org
Tue Jan 22 07:01:53 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit 6c807db1b4c86f1c05465025c736056dc9a5004e
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Mon Jan 21 12:40:27 2013 +0100

    Only display 10 builds per page


>---------------------------------------------------------------

 .../coprs/views/coprs_ns/coprs_builds.py           |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/coprs_frontend/coprs/views/coprs_ns/coprs_builds.py b/coprs_frontend/coprs/views/coprs_ns/coprs_builds.py
index 7756e6f..805a9db 100644
--- a/coprs_frontend/coprs/views/coprs_ns/coprs_builds.py
+++ b/coprs_frontend/coprs/views/coprs_ns/coprs_builds.py
@@ -25,7 +25,7 @@ def copr_builds(username, coprname, page=1):
 
     builds_query = builds_logic.BuildsLogic.get_multiple(flask.g.user, copr=copr)
 
-    paginator = helpers.Paginator(builds_query, copr.build_count, page, per_page_override = 20)
+    paginator = helpers.Paginator(builds_query, copr.build_count, page, per_page_override = 10)
     return flask.render_template('coprs/detail/builds.html', copr=copr, builds=paginator.sliced_query, paginator=paginator)
 
 



More information about the copr-devel mailing list