Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

class method where intended

ulferts8432877cdfb4
diff --git a/app/models/attachment.rb b/app/models/attachment.rb
index d75648ca2f0..ccea9a1cb2a 100644
--- a/app/models/attachment.rb
+++ b/app/models/attachment.rb
@@ -229,7 +229,7 @@ class Attachment < ActiveRecord::Base
end
end
- def tsv_extracted_containers
+ def self.tsv_extracted_containers
Attachment
.select(:container_type)
.distinct