]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4654 The issue bulk change does not work correctly when paginating
authorJulien Lancelot <julien.lancelot@gmail.com>
Mon, 16 Sep 2013 09:32:48 +0000 (11:32 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Mon, 16 Sep 2013 09:32:48 +0000 (11:32 +0200)
sonar-server/src/main/webapp/WEB-INF/app/controllers/issues_controller.rb

index a35dab1574aeec845ba63d39bd3394bae1af8aa0..9d92c1b406f38de9e3c28f0e04f11aab972fd90c 100644 (file)
@@ -161,6 +161,8 @@ class IssuesController < ApplicationController
   # GET /issues/bulk_change_form?[&criteria]
   def bulk_change_form
     issues_query_params = params.clone.merge({'pageSize' => -1})
+    # SONAR-4654 pagination parameters should be remove when loading issues for bulk change
+    issues_query_params.delete('pageIndex')
     if params[:id]
       @issue_filter_result = Internal.issues.execute(params[:id].to_i, issues_query_params)
     else
@@ -211,4 +213,4 @@ class IssuesController < ApplicationController
     Internal.issues.deserializeFilterQuery(filter).to_hash
   end
 
-end
\ No newline at end of file
+end