summaryrefslogtreecommitdiffstats
path: root/app/views/timelog
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-30 16:42:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-30 16:42:55 +0000
commite89b93f8d1b9c92b7f6df6b2fc70a36fd5e27e76 (patch)
tree8374d5d16ffe4b967b9ebe155d0fb44b16f31828 /app/views/timelog
parentd42d8492b8497a4be721f12ef045f368e4a33b3d (diff)
downloadredmine-e89b93f8d1b9c92b7f6df6b2fc70a36fd5e27e76.tar.gz
redmine-e89b93f8d1b9c92b7f6df6b2fc70a36fd5e27e76.zip
Fill the issue id when logging time from the time log list of an issue (#26520).
git-svn-id: http://svn.redmine.org/redmine/trunk@16924 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r--app/views/timelog/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/timelog/index.html.erb b/app/views/timelog/index.html.erb
index 0932c58ae..f777dac30 100644
--- a/app/views/timelog/index.html.erb
+++ b/app/views/timelog/index.html.erb
@@ -1,6 +1,6 @@
<div class="contextual">
<%= link_to l(:button_log_time),
- _new_time_entry_path(@project, @issue),
+ _new_time_entry_path(@project, @query.filtered_issue_id),
:class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project, :global => true) %>
</div>