diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-03 18:30:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-03 18:30:29 +0000 |
commit | 7042879811ab27fea45ea23a06b95eb8d70207b7 (patch) | |
tree | 52a11301794f9b5a617a76d65d66ad8bfb551a29 /app/models/issue_relation.rb | |
parent | 891a71ad474812ce0108d84d649706dc64336c90 (diff) | |
download | redmine-7042879811ab27fea45ea23a06b95eb8d70207b7.tar.gz redmine-7042879811ab27fea45ea23a06b95eb8d70207b7.zip |
Make the 'duplicates of' relation asymmetric:
* closing a issue will close its duplicates
* closing a duplicate won't close the main issue
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1488 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue_relation.rb')
-rw-r--r-- | app/models/issue_relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_relation.rb b/app/models/issue_relation.rb index 07e940b85..49329e0bb 100644 --- a/app/models/issue_relation.rb +++ b/app/models/issue_relation.rb @@ -25,7 +25,7 @@ class IssueRelation < ActiveRecord::Base TYPE_PRECEDES = "precedes" TYPES = { TYPE_RELATES => { :name => :label_relates_to, :sym_name => :label_relates_to, :order => 1 }, - TYPE_DUPLICATES => { :name => :label_duplicates, :sym_name => :label_duplicates, :order => 2 }, + TYPE_DUPLICATES => { :name => :label_duplicates, :sym_name => :label_duplicated_by, :order => 2 }, TYPE_BLOCKS => { :name => :label_blocks, :sym_name => :label_blocked_by, :order => 3 }, TYPE_PRECEDES => { :name => :label_precedes, :sym_name => :label_follows, :order => 4 }, }.freeze |