diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-21 09:26:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-21 09:26:18 +0000 |
commit | 1448f1731f263ac83370282c48d865f518139d09 (patch) | |
tree | e54bd318ef3c0b0b19d79d92a1dabf7584723ae2 /app/controllers | |
parent | ea099fb771a85c1350b92ed05aac9325370e7b5f (diff) | |
download | redmine-1448f1731f263ac83370282c48d865f518139d09.tar.gz redmine-1448f1731f263ac83370282c48d865f518139d09.zip |
Fixed that the bulk edit form shows additional custom fields (#19163).
git-svn-id: http://svn.redmine.org/redmine/trunk@14151 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/issues_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index d38b69dd1..c314b7809 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -229,7 +229,7 @@ class IssuesController < ApplicationController else @available_statuses = @issues.map(&:new_statuses_allowed_to).reduce(:&) end - @custom_fields = target_projects.map{|p|p.all_issue_custom_fields.visible}.reduce(:&) + @custom_fields = @issue..map{|p|p.all_issue_custom_fields.visible}.reduce(:&) @assignables = target_projects.map(&:assignable_users).reduce(:&) @trackers = target_projects.map(&:trackers).reduce(:&) @versions = target_projects.map {|p| p.shared_versions.open}.reduce(:&) |