]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3888 The ordering of the languages should be case insensitive on the quality...
authorSimon Brandhof <simon.brandhof@gmail.com>
Fri, 19 Oct 2012 10:01:05 +0000 (12:01 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Fri, 19 Oct 2012 10:01:05 +0000 (12:01 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb

index 1189d89009fe0881329f64d24036469ac3d3f1be..0a650cc918730278fb2bbf2a2c8d80a3c4b5faa2 100644 (file)
@@ -15,7 +15,7 @@
 </div>
 
 <%
-   languages.sort { |x, y| x.getName() <=> y.getName() }.each do |language|
+   Api::Utils.insensitive_sort(languages){|l| l.getName()}.each do |language|
 %>
   <div class="line-block">
     <% if administrator? %>