Permalink
Browse files

Bug in order of days on account page

  • Loading branch information...
1 parent b7a1cc2 commit 0269327b5cf88b7b4ade1c8ec761e1fec28e4bba @konklone konklone committed Mar 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 ohnomymoney.rb
View
2 ohnomymoney.rb
@@ -36,7 +36,7 @@
:account => account,
:oldest => account.balances.first(:order => "created_at ASC"),
:newest => account.balances.first(:order => "created_at DESC"),
- :balances => account.balances.all(:limit => 180, :order => "created_at DESC")
+ :balances => account.balances.all(:limit => 180, :order => "created_at DESC").reverse
}
end

0 comments on commit 0269327

Please sign in to comment.