summaryrefslogtreecommitdiffstats
path: root/app/views/timelog
diff options
context:
space:
mode:
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>