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