aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-03-27 22:19:50 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-03-27 22:19:50 +0200
commitac3d2512aef6b6266a95a4ebb47d06212d3a325a (patch)
tree8176accbf117ebc4ee8710aeecd5c40b94852538 /sonar-server
parent2985f763c8c4c62f418878a84820d3fd4006fc39 (diff)
downloadsonarqube-ac3d2512aef6b6266a95a4ebb47d06212d3a325a.tar.gz
sonarqube-ac3d2512aef6b6266a95a4ebb47d06212d3a325a.zip
Case-insensitive sort of names in the page "Components"
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/sonar/components_configuration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/components_configuration.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/components_configuration.rb
index 2de6d2a0ee4..180f6688b37 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/components_configuration.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/sonar/components_configuration.rb
@@ -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)