Skip to content

Commit

Permalink
Fix BCF issue associated filter naming
Browse files Browse the repository at this point in the history
  • Loading branch information
top4ek committed Dec 4, 2024
1 parent cc72da4 commit 0f8d7cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ def allowed_values
]
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")
Expand Down
1 change: 1 addition & 0 deletions modules/bim/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 0f8d7cb

Please sign in to comment.