summaryrefslogtreecommitdiffstats
path: root/lib/redmine/pagination.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-10 16:47:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-10 16:47:49 +0000
commit5d31eb2495c2c2cce3ab83867f0d2d01e5d1693c (patch)
tree18738bf1b51e036c2253641cebb148cac0b23dfb /lib/redmine/pagination.rb
parent21c4665e2a35213dea99dcf3562ea8a89b3c7c81 (diff)
downloadredmine-5d31eb2495c2c2cce3ab83867f0d2d01e5d1693c.tar.gz
redmine-5d31eb2495c2c2cce3ab83867f0d2d01e5d1693c.zip
Don't generate pagination links with params.
git-svn-id: http://svn.redmine.org/redmine/trunk@15627 e93f8b46-1217-0410-a6f0-8f06a7374b81
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 a28236a28..0457a4b68 100644
--- a/lib/redmine/pagination.rb
+++ b/lib/redmine/pagination.rb
@@ -145,7 +145,7 @@ module Redmine
if block_given?
yield text, parameters, options
else
- link_to text, params.merge(parameters), options
+ link_to text, {:params => request.query_parameters.merge(parameters)}, options
end
end
end