aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-09-21 16:05:22 +0200
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-09-21 16:05:22 +0200
commit61d5157391ae6765bec874795b1696daf24e6421 (patch)
treedf27f4ade13662136730487dee158ecf3058c15d /sonar-server
parent630cd426b14c9ad01cb70939ce1068fd44f3a598 (diff)
downloadsonarqube-61d5157391ae6765bec874795b1696daf24e6421.tar.gz
sonarqube-61d5157391ae6765bec874795b1696daf24e6421.zip
SONAR-3640 Minimum page size for filters is now 5
=> For filters, the minimum page size should not be limited at 20 (but at 5).
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/filter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/filter.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/filter.rb
index ef7a30c03b9..07c04795132 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/filter.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/filter.rb
@@ -23,7 +23,7 @@ class Filter < ActiveRecord::Base
TREEMAP_PAGE_SIZE=200
DEFAULT_PAGE_SIZE=50
MAX_PAGE_SIZE=200
- MIN_PAGE_SIZE=20
+ MIN_PAGE_SIZE=5
belongs_to :user
belongs_to :resource, :class_name => 'Project', :foreign_key => 'resource_id'