summaryrefslogtreecommitdiffstats
path: root/lib/redmine/pagination.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/pagination.rb')
-rw-r--r--lib/redmine/pagination.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/pagination.rb b/lib/redmine/pagination.rb
index 5d2b58481..afb349f86 100644
--- a/lib/redmine/pagination.rb
+++ b/lib/redmine/pagination.rb
@@ -211,7 +211,7 @@ module Redmine
values = per_page_options(paginator.per_page, paginator.item_count)
if values.any?
links = values.collect do |n|
- n == paginator.per_page ? n : yield(n, :per_page => n)
+ n == paginator.per_page ? n : yield(n, :per_page => n, paginator.page_param => nil)
end
l(:label_display_per_page, links.join(', '))
end