Defect #14415 » timelog_controller.rb.patch
timelog_controller.rb (working copy) | ||
---|---|---|
299 | 299 |
scope = TimeEntry.visible.where(@query.statement) |
300 | 300 |
if @issue |
301 | 301 |
scope = scope.on_issue(@issue) |
302 |
elsif @project |
|
303 |
scope = scope.on_project(@project, Setting.display_subprojects_issues?) |
|
304 | 302 |
end |
305 | 303 |
scope |
306 | 304 |
end |