aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-04-11 17:43:29 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-04-11 17:43:29 +0200
commitb7017a2ddcc24d706ce5be0b2e15ede4cbef2022 (patch)
treecb3c2b3aaa1d48c5f5bbe79e1f2b967ad5660cc1
parent5508b29fc23d02d4046fca21c22637f1a0e0c429 (diff)
downloadsonarqube-b7017a2ddcc24d706ce5be0b2e15ede4cbef2022.tar.gz
sonarqube-b7017a2ddcc24d706ce5be0b2e15ede4cbef2022.zip
Project roles : decrease the number of results per page
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb
index 6ab65ce85e6..0703ecec5ce 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb
@@ -46,7 +46,7 @@ class RolesController < ApplicationController
conditions_values[:search]="#{params[:q].downcase}%"
end
- @pagination = Api::Pagination.new(params.merge(:per_page => 50))
+ @pagination = Api::Pagination.new(params)
@projects=Project.find(:all,
:include => %w(user_roles group_roles index),
:conditions => [conditions_sql, conditions_values],