[Bps-public-commit] App-Changeloggr branch, master, updated. c08a3ddcb0d09df56f78b8268beca284a97e2b56

sartak at bestpractical.com sartak at bestpractical.com
Wed Aug 5 03:26:24 EDT 2009


The branch, master has been updated
       via  c08a3ddcb0d09df56f78b8268beca284a97e2b56 (commit)
      from  9110a178311a69ab6d1b37ecf5f3ba7100cbfb2f (commit)

Summary of changes:
 lib/App/Changeloggr/View/Leaderboard.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit c08a3ddcb0d09df56f78b8268beca284a97e2b56
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Aug 5 03:26:17 2009 -0400

    Show the top 25 not top 26

diff --git a/lib/App/Changeloggr/View/Leaderboard.pm b/lib/App/Changeloggr/View/Leaderboard.pm
index d8b3e8b..8ed0293 100644
--- a/lib/App/Changeloggr/View/Leaderboard.pm
+++ b/lib/App/Changeloggr/View/Leaderboard.pm
@@ -24,7 +24,7 @@ sub show_leaderboard {
     $votes->group_by_voter;
 
     ol {
-        for (0 .. 25) {
+        for (1 .. 25) {
             my $vote = $votes->next
                 or last;
             my $is_current = $vote->user->id == Jifty->web->current_user->id;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list