From 291f89a635a3d50150850a5fdf17c4603793c440 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Tue, 21 May 2013 15:39:19 +0200 Subject: [PATCH] SONAR-4301 Set default sort by severity --- sonar-server/src/main/webapp/WEB-INF/app/models/issue_filter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/issue_filter.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/issue_filter.rb index 5bce516bb72..21c884afda8 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/issue_filter.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/issue_filter.rb @@ -73,7 +73,7 @@ class IssueFilter @paging = nil @issues = nil criteria['pageSize'] = 100 - criteria['sort'] ||= 'CREATION_DATE' + criteria['sort'] ||= 'SEVERITY' criteria['asc'] ||= 'false' self end -- 2.39.5