diff --git a/sources/application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php b/sources/application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php index d3e33bcc7..2f8bc2fb5 100644 --- a/sources/application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php +++ b/sources/application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php @@ -572,13 +572,14 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory } else { $sRender = "let displayField = ''+row['".$sClassAlias."/friendlyname']+''; return displayField;"; } + $sAttLabel = MetaModel::GetName($sClassName); $aColumnDefinition[] = [ 'description' => $aData['label'], 'object_class' => $sClassName, 'class_alias' => $sClassAlias, 'attribute_code' => $sAttCode, 'attribute_type' => '_key_', - 'attribute_label' => $aData['alias'], + 'attribute_label' => $sAttLabel, "render" => "return row['".$sClassAlias."/hyperlink'];", ]; }