diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-05-15 16:24:54 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-05-15 16:24:54 +0200 |
commit | 7b7c6cbba9942fa7efc97a52767f27c818a1d94f (patch) | |
tree | 25c4372b11790369041e36346f94f87ab44f2ef1 /sonar-server/src/main/webapp/WEB-INF/app/controllers/issue_controller.rb | |
parent | f1f629758a4de0327e307820fe5782b43c5df0e3 (diff) | |
download | sonarqube-7b7c6cbba9942fa7efc97a52767f27c818a1d94f.tar.gz sonarqube-7b7c6cbba9942fa7efc97a52767f27c818a1d94f.zip |
SONAR-4298 Fix problem on total issues link when using pagination
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF/app/controllers/issue_controller.rb')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/issue_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |