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

Fix BCF issue associated filter naming

Alexander0f8d7cb318c0
diff --git a/modules/bim/app/models/bim/queries/work_packages/filter/bcf_issue_associated_filter.rb b/modules/bim/app/models/bim/queries/work_packages/filter/bcf_issue_associated_filter.rb
index a92b82e8ef2..1ce6ffce8a2 100644
--- a/modules/bim/app/models/bim/queries/work_packages/filter/bcf_issue_associated_filter.rb
+++ b/modules/bim/app/models/bim/queries/work_packages/filter/bcf_issue_associated_filter.rb
@@ -41,6 +41,10 @@ module ::Bim::Queries::WorkPackages::Filter
]
end
+ def human_name
+ I18n.t("bcf.label_bcf_issue_associated")
+ end
+
def where
if associated?
::Queries::Operators::All.sql_for_field(values, ::Bim::Bcf::Issue.table_name, "id")
diff --git a/modules/bim/config/locales/en.yml b/modules/bim/config/locales/en.yml
index a500501d80c..d8636669aa9 100644
--- a/modules/bim/config/locales/en.yml
+++ b/modules/bim/config/locales/en.yml
@@ -11,6 +11,7 @@ en:
label_bcf: 'BCF'
label_imported_failed: 'Failed imports of BCF topics'
label_imported_successfully: 'Successfully imported BCF topics'
+ label_bcf_issue_associated: "BCF issue associated"
issues: "Issues"
recommended: 'recommended'
not_recommended: 'not recommended'