diff bitten/trac_ext/web_ui.py @ 232:b6e4896dc026

Fix regression introduced in [239]: first build was being skipped on build configuration page.
author cmlenz
date Wed, 28 Sep 2005 23:13:44 +0000
parents c7ff953ebb07
children a22ec8fce6c9
line wrap: on
line diff
--- a/bitten/trac_ext/web_ui.py
+++ b/bitten/trac_ext/web_ui.py
@@ -357,7 +357,7 @@
             if idx >= page * builds_per_page:
                 more = True
                 break
-            elif idx > (page - 1) * builds_per_page:
+            elif idx >= (page - 1) * builds_per_page:
                 prefix = 'config.builds.%d' % rev
                 req.hdf[prefix + '.href'] = self.env.href.changeset(rev)
                 if build and build.status != Build.PENDING:
Copyright (C) 2012-2017 Edgewall Software