Skip to content

Commit

Permalink
fix addDocTypeField in SuggestionCategoryService to support I18N fiel…
Browse files Browse the repository at this point in the history
…d association
  • Loading branch information
danielecalda committed Aug 28, 2023
1 parent 06e3c9b commit c0a883f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public Uni<Tuple2<SuggestionCategory, DocTypeField>> addDocTypeField(
.transformToUni(suggestionCategory -> docTypeFieldService.findById(docTypeFieldId)
.onItem()
.ifNotNull()
.transform(docTypeField -> docTypeField.isKeyword()
.transform(docTypeField -> (docTypeField.isKeyword() || docTypeField.isI18N())
? docTypeField
: null
)
Expand Down

0 comments on commit c0a883f

Please sign in to comment.