]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4620 issue-related widgets should not propagate the page size
authorJulien HENRY <julien.henry@sonarsource.com>
Wed, 4 Sep 2013 14:01:29 +0000 (16:01 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Wed, 4 Sep 2013 14:01:29 +0000 (16:01 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb

index f435afc8b29b665f2f120914e0ea1ba440deb85e..511d03b56a5783111f68728a41b5061737f7bf8f 100644 (file)
@@ -72,7 +72,7 @@
        link_params[:period] = params[:period]
     %>
     <%= paginate_java(paging, :colspan => 3, :id => "issue-filter-foot-#{widget_id}", :include_loading_icon => true,
-                      :url_results => url_for({:controller => 'issues', :action => 'search' }.merge(search_options)) ) { |label, page_id|
+                      :url_results => url_for(search_options.merge({:controller => 'issues', :action => 'search' }).except('pageSize', 'pageIndex', 'table_limit', 'widget_id')) ) { |label, page_id|
       link_to_remote(label,
                      :update => "issues-widget-#{widget_id}",
                      :url => link_params.merge({:pageIndex => page_id}))