Defect #16260 » 16260-parent_task-r16340.diff
app/helpers/issues_helper.rb (working copy) | ||
---|---|---|
183 | 183 |
attrs = { |
184 | 184 |
:parent_issue_id => issue |
185 | 185 |
} |
186 |
attrs[:tracker_id] = issue.tracker unless issue.tracker.disabled_core_fields.include?('parent_issue_id') |
|
186 |
unless issue.tracker.disabled_core_fields.include?('parent_issue_id') |
|
187 |
attrs[:tracker_id] = issue.tracker |
|
188 |
else |
|
189 |
attrs[:tracker_id] = |
|
190 |
Issue.allowed_target_trackers(issue.project).detect do |tracker| |
|
191 |
! tracker.disabled_core_fields.include?('parent_issue_id') |
|
192 |
end |
|
193 |
end |
|
187 | 194 |
link_to(l(:button_add), new_project_issue_path(issue.project, :issue => attrs, :back_url => issue_path(issue))) |
188 | 195 |
end |
189 | 196 |
- « Previous
- 1
- 2
- 3
- Next »