diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index 2793e84a99..197272d270 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -6506,6 +6506,9 @@ class AttributeExternalField extends AttributeDefinition { $oRemoteAtt = $this->GetExtAttDef(); $sLabel = $oRemoteAtt->GetLabel($this->m_sCode); + $oKeyAtt = $this->GetKeyAttDef(); + $sKeyLabel = $oKeyAtt->GetLabel($this->GetKeyAttCode()); + $sLabel = "{$sKeyLabel}->{$sLabel}"; } }