Skip to content

Commit

Permalink
Issue #3145: Removed TranslatableValues from DF Reference rendering.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaerter committed Mar 13, 2024
1 parent 0236b0a commit fe1fa17
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions Kernel/System/DynamicField/Driver/BaseReference.pm
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ sub EditFieldRender {
SelectedID => $Value->[$ValueIndex],
Class => $FieldClass . ( $Param{AJAXUpdate} ? ' FormUpdate' : '' ),
HTMLQuote => 1,
Translation => $DFDetails->{TranslatableValues},
PossibleNone => 0,
);
}
Expand All @@ -289,7 +288,6 @@ sub EditFieldRender {
Class => $FieldClass . ( $Param{AJAXUpdate} ? ' FormUpdate' : '' ),
HTMLQuote => 1,
Multiple => $DFDetails->{Multiselect},
Translation => $DFDetails->{TranslatableValues},
PossibleNone => 0,
);
}
Expand Down Expand Up @@ -349,15 +347,14 @@ sub EditFieldRender {
$FieldTemplateData{FieldID} = $FieldName . '_Template';

my $SelectionHTML = $Param{LayoutObject}->BuildSelection(
Data => $PossibleValues || {},
Sort => 'AlphanumericValue',
Disabled => $Param{Readonly},
Name => $FieldName,
ID => $FieldTemplateData{FieldID},
Class => $FieldClass . ( $Param{AJAXUpdate} ? ' FormUpdate' : '' ),
HTMLQuote => 1,
Multiple => $DFDetails->{Multiselect},
Translation => $DFDetails->{TranslatableValues} || 0,
Data => $PossibleValues || {},
Sort => 'AlphanumericValue',
Disabled => $Param{Readonly},
Name => $FieldName,
ID => $FieldTemplateData{FieldID},
Class => $FieldClass . ( $Param{AJAXUpdate} ? ' FormUpdate' : '' ),
HTMLQuote => 1,
Multiple => $DFDetails->{Multiselect},
);
$TemplateHTML = $Param{LayoutObject}->Output(
TemplateFile => $FieldTemplateFile,
Expand Down

0 comments on commit fe1fa17

Please sign in to comment.