summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-05-13 09:51:39 +0200
committerspag <spag@golwen.net>2013-05-13 09:51:39 +0200
commit2e4a23d6d51ee564386c1bf2b0df8d9869cc3b7c (patch)
tree6d46f014e60c52aa00bb4e0fbd2e37bf1629ad34
parentef07898499292b72ce011bc9f3494cb4dade1d6b (diff)
pagination fixed
-rw-r--r--app/controllers/users_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 971ce4b..b4ef180 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -10,7 +10,7 @@ class UsersController < ApplicationController
def index
@users = @parent.users.order(sort_column + ' ' + (sort_descending ? 'DESC' : 'ASC')).paginate(
- :page => @pagination_page_number,
+ :page => params[:page],
:per_page => GsParameter.get('DEFAULT_PAGINATION_ENTRIES_PER_PAGE')
)
end