From 7b7c6cbba9942fa7efc97a52767f27c818a1d94f Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Wed, 15 May 2013 16:24:54 +0200 Subject: SONAR-4298 Fix problem on total issues link when using pagination --- .../src/main/webapp/WEB-INF/app/controllers/issue_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sonar-server/src/main/webapp/WEB-INF/app/controllers/issue_controller.rb') diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/issue_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/issue_controller.rb index c11dbcf6ea9..fcfb1a0a504 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/issue_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/issue_controller.rb @@ -267,7 +267,8 @@ class IssueController < ApplicationController # def widget_issues_list - @dashboard_configuration = Api::DashboardConfiguration.new(nil, :period_index => params[:period]) + @snapshot = Snapshot.find(params[:snapshot_id]) if params[:snapshot_id] + @dashboard_configuration = Api::DashboardConfiguration.new(nil, :period_index => params[:period], :snapshot => @snapshot) render :partial => 'project/widgets/issues/issues_list' end -- cgit v1.2.3