]> source.dussan.org Git - redmine.git/commitdiff
Ability to use any custom field as a cross-project custom query column (#3321).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 13 May 2009 17:32:15 +0000 (17:32 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 13 May 2009 17:32:15 +0000 (17:32 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2743 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/query.rb

index 790ed7e23d67b71e257d86785211579c0b0098d1..355a410b7908bca6821e8b24fe51cd162c312100 100644 (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