diff --git a/core/backend/ViewDefinitions/LegacyHandler/RecordView/RecordViewCurrencyFieldMapper.php b/core/backend/ViewDefinitions/LegacyHandler/RecordView/RecordViewCurrencyFieldMapper.php index d100fce8d..54d6d1b18 100644 --- a/core/backend/ViewDefinitions/LegacyHandler/RecordView/RecordViewCurrencyFieldMapper.php +++ b/core/backend/ViewDefinitions/LegacyHandler/RecordView/RecordViewCurrencyFieldMapper.php @@ -139,6 +139,8 @@ class RecordViewCurrencyFieldMapper implements ViewDefinitionMapperInterface $name = $cell['name'] ?? ''; + $logic = $cell['logic'] ?? []; + $currencyName = $name; $currencyIdName = 'currency_id'; $baseName = $name . '_usdollar'; @@ -191,6 +193,10 @@ class RecordViewCurrencyFieldMapper implements ViewDefinitionMapperInterface $typeConfig ); + foreach ($logic as $key => $def){ + $cellDefinition['groupFields'][$name]['logic'][$key] = $def; + } + $cell['fieldDefinition'] = $cellDefinition; $cols[$cellKey] = $cell; }