From cbb37f27d789ebf118cd92d030d1a4e9f7bea987 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Mon, 30 Oct 2023 19:08:44 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B06866=20-=20Fix=20issue=20when=20creating?= =?UTF-8?q?=20new=20fields=20in=20Request=20Template=20in=20French?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DataTable/DataTableUIBlockFactory.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sources/application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php b/sources/application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php index 53bdfe4bd..ba210bee9 100644 --- a/sources/application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php +++ b/sources/application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php @@ -791,14 +791,14 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory $aColumnDefinition["type"] = "html"; if ($sAttCode == '_key_') { - $sAttrLabel = $aData['alias']; + $sAttLabel = $aData['alias']; $aColumnDefinition["title"] = $aData['alias']; $aColumnDefinition['metadata'] = [ 'object_class' => $sClassName, 'class_alias' => $sClassAlias, 'attribute_code' => $sAttCode, 'attribute_type' => '_key_', - 'attribute_label' => $sAttrLabel, + 'attribute_label' => $sAttLabel, ]; $aColumnDefinition["data"] = $sClassAlias."/".$sAttCode; $aColumnDefinition["render"] = [ @@ -806,8 +806,8 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory "_" => $sClassAlias."/".$sAttCode, ]; $aColumnDefinition["createdCell"] = << $sClassAlias."/".$sAttCode, ]; $aColumnDefinition["createdCell"] = <<