From 84732abd0ad79403c20b978e827e6e3dceae3286 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 4 Jan 2017 21:13:28 +0000 Subject: Missing "next" pagination link when looking at yesterday's activity (#18399). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@16137 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/activities/index.html.erb | 2 +- test/functional/activities_controller_test.rb | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erb index f86390ab3..c3026fb63 100644 --- a/app/views/activities/index.html.erb +++ b/app/views/activities/index.html.erb @@ -28,7 +28,7 @@ {:params => request.query_parameters.merge(:from => @date_to - @days - 1)}, :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1)), :accesskey => accesskey(:previous)) %> - <% unless @date_to >= User.current.today %><% unless @date_to > User.current.today %>