From d7e8145105c453c39f95105734fce2a11ff3f00c Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Tue, 5 Jun 2012 11:10:28 +0200 Subject: [PATCH] SONAR-3528 Add missing modification on Ruby template --- .../plugins/core/widgets/reviews/planned_reviews.html.erb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/planned_reviews.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/planned_reviews.html.erb index f09cff1e970..50c60463642 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/planned_reviews.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/reviews/planned_reviews.html.erb @@ -1,6 +1,6 @@ <% if has_role?(:user, @project) - limit = widget_properties["numberOfLines"] + table_limit = widget_properties["numberOfLines"] search_options = {} search_options['projects'] = @project.key @@ -26,7 +26,7 @@ else first_action_plan = open_action_plans[0] url_options = search_options.merge({:controller => 'project_reviews', :action => 'widget_reviews_list', :snapshot_id => @snapshot.id, - :limit => limit, :widget_id => widget.id, :period => params[:period] }) + :table_limit => table_limit, :widget_id => widget.id, :period => params[:period] }) %> @@ -54,7 +53,7 @@ <% search_options['action_plan_id'] = first_action_plan.id %> <%= render :partial => 'project/widgets/reviews/reviews_list', :locals => {:search_options => search_options, - :limit => limit, + :table_limit => table_limit, :widget_id => widget.id.to_s} %> -- 2.39.5