diff options
author | Go MAEDA <maeda@farend.jp> | 2018-08-02 06:00:10 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-08-02 06:00:10 +0000 |
commit | c76a021e92e77036152935ac19af10893f56669f (patch) | |
tree | c7671a456384e571a57a0b5deb8dcf9ba9b020c3 /app/controllers | |
parent | ed14823d13ae156e5040bd94c400010b92216af0 (diff) | |
download | redmine-c76a021e92e77036152935ac19af10893f56669f.tar.gz redmine-c76a021e92e77036152935ac19af10893f56669f.zip |
Time entry creation: preserve 'spent on' value when using 'Create and Continue' (#29308).
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17459 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/timelog_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index 6bd7ab387..c23e47713 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -113,6 +113,7 @@ class TimelogController < ApplicationController :time_entry => { :project_id => params[:time_entry][:project_id], :issue_id => @time_entry.issue_id, + :spent_on => @time_entry.spent_on, :activity_id => @time_entry.activity_id }, :back_url => params[:back_url] |