Ability to use any custom field as a cross-project custom query column (#3321).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2743 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 16 years ago
parent b87753c90d
commit e9a6730f4a
  1. 2
      app/models/query.rb

@ -238,7 +238,7 @@ class Query < ActiveRecord::Base
@available_columns = Query.available_columns
@available_columns += (project ?
project.all_issue_custom_fields :
IssueCustomField.find(:all, :conditions => {:is_for_all => true})
IssueCustomField.find(:all)
).collect {|cf| QueryCustomFieldColumn.new(cf) }
end

Loading…
Cancel
Save