From a5d97b4737555a0efc2ce962705545ef4969f68c Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Fri, 6 Jul 2012 12:06:01 +0200 Subject: [PATCH] SONAR-2614 Sort resources by name --- .../webapp/WEB-INF/app/controllers/bulk_deletion_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5