Permalink
Browse files

Pagination

  • Loading branch information...
1 parent a8ca316 commit ba87851730b2627bc5f3ecb38e931c53e4a58857 @cykod committed Apr 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/modules/user_profile/app/controllers/user_profile/page_renderer.rb
@@ -57,7 +57,7 @@ def list_profiles
return render_paragraph :text => 'Configure Paragraph'.t if !@user_profile_type
order_by = @@profile_order_by_options[@options.order_by]
- @pages,@users = @user_profile_type.paginate_users(params[:page],:order => order_by, :per_page => @options.per_page, :registered => @options.registered_only)
+ @pages,@users = @user_profile_type.paginate_users(params[:page],:order => order_by, :per_page => @options.per_page, :registered => @options.registered_only, :per_page => @options.per_page)
@content_model = @user_profile_type.content_model
cache[:output] = user_profile_page_list_profiles_feature

0 comments on commit ba87851

Please sign in to comment.