diff options
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 4151e734c..b0b00bebf 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -293,8 +293,11 @@ class ProjectsController < ApplicationController new_project = Project.find(params[:new_project_id])
new_tracker = Tracker.find(params[:new_tracker_id])
@issues.each { |i|
- # category is project dependent
- i.category = nil unless i.project_id == new_project.id
+ # project dependent properties
+ unless i.project_id == new_project.id
+ i.category = nil
+ i.fixed_version = nil
+ end
# move the issue
i.project = new_project
i.tracker = new_tracker
|