summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-03-01 03:46:53 +0000
committerGo MAEDA <maeda@farend.jp>2023-03-01 03:46:53 +0000
commita499d688021a5ba9f7cb8dba18bb3dc6b0199073 (patch)
tree8d51530b28415a7de8e8984955b1f32d6136a976 /app/models/issue.rb
parent96a718547d643eacddb09155bad25bfc48457efe (diff)
downloadredmine-a499d688021a5ba9f7cb8dba18bb3dc6b0199073.tar.gz
redmine-a499d688021a5ba9f7cb8dba18bb3dc6b0199073.zip
Show parent issues in notification email (#34302).
Patch by Yuichi HARADA. git-svn-id: https://svn.redmine.org/redmine/trunk@22120 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 88c808321..a0c2006ad 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -1502,6 +1502,8 @@ class Issue < ActiveRecord::Base
end
end
+ alias :parent_issue :parent
+
def set_parent_id
self.parent_id = parent_issue_id
end