]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3640 Minimum page size for filters is now 5
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Fri, 21 Sep 2012 14:05:22 +0000 (16:05 +0200)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Fri, 21 Sep 2012 14:05:22 +0000 (16:05 +0200)
=> For filters, the minimum page size should not be limited at 20
   (but at 5).

sonar-server/src/main/webapp/WEB-INF/app/models/filter.rb

index ef7a30c03b9cd702a924d7feea6d5a8383e0384e..07c04795132032d1bdc10a22574941ff02dec5f4 100644 (file)
@@ -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'