diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-10-02 11:25:39 +0200 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-10-02 15:22:01 +0200 |
commit | 0e1bcdddbd8d17d29ae6fa622360dcb01ca8f57d (patch) | |
tree | d96620db10e82cee7aa88f10d069d09789720cf5 /server/sonar-web/src/main/webapp | |
parent | abd6a18dfd31bd49290d25b1d2c099b313bce8f2 (diff) | |
download | sonarqube-0e1bcdddbd8d17d29ae6fa622360dcb01ca8f57d.tar.gz sonarqube-0e1bcdddbd8d17d29ae6fa622360dcb01ca8f57d.zip |
SONAR-5680 Fix an issue with restore of issue filters (first parameter overwritten) + fix links using issue filter ID
Diffstat (limited to 'server/sonar-web/src/main/webapp')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb index 5624de3a9ce..63c9a020c9d 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb @@ -1016,6 +1016,9 @@ module ApplicationHelper def url_for_issues(params) url = ApplicationController.root_context + '/issues/search#' params.each do |key, value| + if key == 'filter' + key = 'id' + end url += key.to_s + '=' + value.to_s + '|' end url |