# HG changeset patch # User Daniel Dourvaris # Date 2020-07-02 08:14:17 # Node ID 95c2ceac40da39768bab9fc358c04bd1d4813ea1 # Parent 5a8d42ccf0e6fc4d90466df9a910a3dfb581d483 summary: fixed summary page total commits count. diff --git a/rhodecode/templates/summary/components.mako b/rhodecode/templates/summary/components.mako --- a/rhodecode/templates/summary/components.mako +++ b/rhodecode/templates/summary/components.mako @@ -97,7 +97,7 @@
- <% commit_rev = c.rhodecode_db_repo.changeset_cache.get('revision') %> + <% commit_rev = h.safe_int(c.rhodecode_db_repo.changeset_cache.get('revision'), 0) + 1 %> % if c.rhodecode_repo: ${refs_counters( c.rhodecode_repo.branches,