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
This commit is contained in:
Jean-Philippe Lang 2009-05-13 17:32:15 +00:00
parent b87753c90d
commit e9a6730f4a
1 changed files with 1 additions and 1 deletions

View File

@ -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