Preselect the issue custom fields from the source project when copying. #4045
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2933 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
945ea9b01c
commit
6531c3f887
|
@ -391,6 +391,7 @@ class Project < ActiveRecord::Base
|
|||
copy.enabled_modules = project.enabled_modules
|
||||
copy.trackers = project.trackers
|
||||
copy.custom_values = project.custom_values.collect {|v| v.clone}
|
||||
copy.issue_custom_fields = project.issue_custom_fields
|
||||
return copy
|
||||
else
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue