diff --git a/app/controllers/saldos_controller.rb b/app/controllers/saldos_controller.rb index 2dd1dcb98c053da669bdcc70bf785878a458f609..784f14a8cafed0486e76b418f2c528000770f8c7 100644 --- a/app/controllers/saldos_controller.rb +++ b/app/controllers/saldos_controller.rb @@ -9,7 +9,8 @@ class SaldosController < ApplicationController :redirect_to => { :action => :list } def list - @saldo_pages, @saldos = paginate :saldos, :per_page => 10 + @saldo_pages, @saldos = paginate :saldos, :per_page => 10, + :order => "date desc, account_id" end def show