From d6a0ac843d379512fff46f283289f3f343d3db52 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 28 Aug 2014 11:54:30 +0200 Subject: [PATCH] Remove tab option from link_to_resource as it's not managed --- .../src/main/webapp/WEB-INF/app/helpers/application_helper.rb | 3 --- 1 file changed, 3 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 72977009397..41c825e07aa 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 @@ -318,7 +318,6 @@ module ApplicationHelper query = request.query_parameters query[:id] = resource.id query[:period] = period_index if period_index - query[:tab] = options[:tab] if options[:tab] query[:rule] = options[:rule] if options[:rule] query.each do |key, value| path += '&' unless path.empty? @@ -332,7 +331,6 @@ module ApplicationHelper query = request.query_parameters query[:id] = resource.id query[:period] = period_index if period_index - query[:tab] = options[:tab] if options[:tab] query[:rule] = options[:rule] if options[:rule] query.each do |key, value| path += '&' unless path.empty? @@ -343,7 +341,6 @@ module ApplicationHelper else url = "#{ApplicationController.root_context}/dashboard/index?id=#{u resource.key}" url += "&period=#{u period_index}" if period_index - url += "&tab=#{u options[:tab]}" if options[:tab] url += "&rule=#{u options[:rule]}" if options[:rule] url += "&metric=#{u options[:metric]}" if options[:metric] url += '#L' + options[:line].to_s if options[:line] -- 2.39.5