From: Fabrice Bellingard Date: Fri, 6 Jul 2012 10:06:01 +0000 (+0200) Subject: SONAR-2614 Sort resources by name X-Git-Tag: 3.2~210 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a5d97b4737555a0efc2ce962705545ef4969f68c;p=sonarqube.git SONAR-2614 Sort resources by name --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/bulk_deletion_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/bulk_deletion_controller.rb index 46a8055b268..e7a1619d83f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/bulk_deletion_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/bulk_deletion_controller.rb @@ -54,7 +54,7 @@ class BulkDeletionController < ApplicationController values[:name] = '%' + params[:name_filter].strip + '%' end - @resources = Project.find(:all, :conditions => [conditions, values]) + @resources = Project.find(:all, :conditions => [conditions, values], :order => 'name ASC') end end