aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>2013-02-15 16:14:36 +0100
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>2013-02-15 16:15:16 +0100
commitd87469cdc242cf20b0bd9ac73325ac1d01f9b317 (patch)
tree2726ba9c91c22cdd573f4015a114e8f2b9e9e126
parentf27ef54cbad7a5ab0fd65007e98289dda8082a79 (diff)
downloadsonarqube-d87469cdc242cf20b0bd9ac73325ac1d01f9b317.tar.gz
sonarqube-d87469cdc242cf20b0bd9ac73325ac1d01f9b317.zip
SONAR-4042 Don't save the page ID when saving a measure filter
=> When saving a Measure Filter from a page which is not the first result page, this page is always displayed by default
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/measures_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/measures_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/measures_controller.rb
index 3b5da35de38..1bc005d14de 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/measures_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/measures_controller.rb
@@ -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