From f5668d06500d8437f9744ed64835de5c23346ce0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 21 Mar 2015 09:27:09 +0000 Subject: [PATCH] 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 --- app/controllers/issues_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(:&) -- 2.39.5