From 8f0241f8347ccc0edcbd8dd38cef4dfe4611f4e1 Mon Sep 17 00:00:00 2001 From: Jens Kraemer Date: Wed, 1 Aug 2018 13:10:17 +0800 Subject: [PATCH] time entry creation: preserve 'spent on' when using 'create and continue' --- app/controllers/timelog_controller.rb | 1 + 1 file changed, 1 insertion(+) 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] -- 2.11.0