]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4042 Don't save the page ID when saving a measure filter
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Fri, 15 Feb 2013 15:14:36 +0000 (16:14 +0100)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Fri, 15 Feb 2013 15:15:16 +0000 (16:15 +0100)
=> When saving a Measure Filter from a page which is not the first
   result page, this page is always displayed by default

sonar-server/src/main/webapp/WEB-INF/app/controllers/measures_controller.rb

index 3b5da35de388eaac1baaf134a8b2e4c364b7bd0b..1bc005d14de9c6b91282bda435388014d06b49df 100644 (file)
@@ -221,6 +221,6 @@ class MeasuresController < ApplicationController
   end
 
   def criteria_params
-    params.merge({:controller => nil, :action => nil, :search => nil, :widget_id => nil, :edit => nil})
+    params.merge({:controller => nil, :action => nil, :search => nil, :widget_id => nil, :edit => nil, :page => nil})
   end
 end