From: Fabrice Bellingard Date: Fri, 21 Sep 2012 14:05:22 +0000 (+0200) Subject: SONAR-3640 Minimum page size for filters is now 5 X-Git-Tag: 3.3~249 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=61d5157391ae6765bec874795b1696daf24e6421;p=sonarqube.git 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). --- 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'