diff options
Diffstat (limited to 'app/models/project_query.rb')
-rw-r--r-- | app/models/project_query.rb | 2 |
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 |