summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-03-21 09:27:09 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-03-21 09:27:09 +0000
commitf5668d06500d8437f9744ed64835de5c23346ce0 (patch)
tree677fb149f7fd93cf95fb4227edb4efd2f9066e0a /app/controllers
parent1448f1731f263ac83370282c48d865f518139d09 (diff)
downloadredmine-f5668d06500d8437f9744ed64835de5c23346ce0.tar.gz
redmine-f5668d06500d8437f9744ed64835de5c23346ce0.zip
Fixed that the bulk edit form shows additional custom fields (#19163).
git-svn-id: http://svn.redmine.org/redmine/trunk@14152 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/issues_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index c314b7809..48608f7a7 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 = @issue..map{|p|p.all_issue_custom_fields.visible}.reduce(:&)
+ @custom_fields = @issues.map{|i|i.editable_custom_fields}.reduce(:&)
@assignables = target_projects.map(&:assignable_users).reduce(:&)
@trackers = target_projects.map(&:trackers).reduce(:&)
@versions = target_projects.map {|p| p.shared_versions.open}.reduce(:&)