]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4301 Set default sort by severity
authorJulien Lancelot <julien.lancelot@gmail.com>
Tue, 21 May 2013 13:39:19 +0000 (15:39 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Tue, 21 May 2013 13:39:19 +0000 (15:39 +0200)
sonar-server/src/main/webapp/WEB-INF/app/models/issue_filter.rb

index 5bce516bb72d45eed943b3e4a7fb672465329f4e..21c884afda891e48a06bb39cbbffd1532d35ba90 100644 (file)
@@ -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