]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2614 Sort resources by name
authorFabrice Bellingard <bellingard@gmail.com>
Fri, 6 Jul 2012 10:06:01 +0000 (12:06 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Fri, 6 Jul 2012 10:39:02 +0000 (12:39 +0200)
sonar-server/src/main/webapp/WEB-INF/app/controllers/bulk_deletion_controller.rb

index 46a8055b2686e26eef9887718f85096f7e5c8c98..e7a1619d83fd574c255be94f38a790519bc1c77e 100644 (file)
@@ -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