diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-05-13 17:32:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-05-13 17:32:15 +0000 |
commit | e9a6730f4ad73c58b3894d7d3da67720c75255c9 (patch) | |
tree | 830de2c7db4f9dfc5ee793eb517d352a775a02e4 /app/models/query.rb | |
parent | b87753c90d2b2b077fcb0a95d778d8ad5b48ed6c (diff) | |
download | redmine-e9a6730f4ad73c58b3894d7d3da67720c75255c9.tar.gz redmine-e9a6730f4ad73c58b3894d7d3da67720c75255c9.zip |
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
Diffstat (limited to 'app/models/query.rb')
-rw-r--r-- | app/models/query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb index 790ed7e23..355a410b7 100644 --- a/app/models/query.rb +++ b/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 |