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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Use description == 'ifc'
Oliver Günther86bad0f9a07f
diff --git a/modules/bim/lib/open_project/bim/patches/attachment_patch.rb b/modules/bim/lib/open_project/bim/patches/attachment_patch.rbindex d3d5e5da3a9..1743281b26c 100644--- a/modules/bim/lib/open_project/bim/patches/attachment_patch.rb+++ b/modules/bim/lib/open_project/bim/patches/attachment_patch.rb@@ -39,13 +39,13 @@ module OpenProject::Bim::Patches::AttachmentPatchenddef content_disposition(include_filename: true)- return super unless ifc_model? && include_filename+ return super unless ifc_file? && include_filenameifc_content_dispositionenddef ifc_file?- container_type == Bim::IfcModels::IfcModel.name && extension == ".ifc" && container.present?+ container_type == Bim::IfcModels::IfcModel.name && description == "ifc" && container.present?enddef ifc_content_disposition