From: Jean-Baptiste Lievremont Date: Tue, 29 Jul 2014 08:09:49 +0000 (+0200) Subject: SONAR-4804 Use case insensitive order on name for projects on Projects Permissions X-Git-Tag: 4.5-RC1~339^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=89d098b05051be29e53552f0be237139e9ce1ea9;p=sonarqube.git SONAR-4804 Use case insensitive order on name for projects on Projects Permissions --- diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb index 40a0f37b395..01abb33a423 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb @@ -45,7 +45,7 @@ class RolesController < ApplicationController :include => ['user_roles','group_roles'], :conditions => ['kee in (?)', @query_result.components().to_a.collect{|component| component.key()}], # Even if components are already sorted, we must sort them again as this SQL query will not keep order - :order => 'name' + :order => 'lower(name)' ) @components_names = params[:names] @components_keys = params[:keys]