summaryrefslogtreecommitdiffstats
path: root/app/models/project_query.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/project_query.rb')
-rw-r--r--app/models/project_query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_query.rb b/app/models/project_query.rb
index 55c785e89..4f4889380 100644
--- a/app/models/project_query.rb
+++ b/app/models/project_query.rb
@@ -70,7 +70,7 @@ class ProjectQuery < Query
def available_columns
return @available_columns if @available_columns
@available_columns = self.class.available_columns.dup
- @available_columns += ProjectCustomField.visible.
+ @available_columns += project_custom_fields.visible.
map {|cf| QueryCustomFieldColumn.new(cf) }
@available_columns
end