]> source.dussan.org Git - sonarqube.git/commitdiff
Case-insensitive sort of names in the page "Components"
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 27 Mar 2012 20:19:50 +0000 (22:19 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 27 Mar 2012 20:19:50 +0000 (22:19 +0200)
sonar-server/src/main/webapp/WEB-INF/app/models/sonar/components_configuration.rb

index 2de6d2a0ee471ef43ef5231a7d74b73ee69272ac..180f6688b37420dc7882fa92d43e63d5f5fbf868 100644 (file)
@@ -95,7 +95,7 @@ class Sonar::ComponentsConfiguration
   end
   
   def sorted_by_project_name?
-    @sorted_column_id=='project'
+    @sorted_column_id==Sonar::ColumnsView::TYPE_PROJECT
   end
 
   def set_column_sort_default(column_id)