diff --git a/sources/Application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php b/sources/Application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php index f388707fd..80237bcab 100644 --- a/sources/Application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php +++ b/sources/Application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php @@ -347,7 +347,8 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory unset($aLists[$sAlias], $aAuthorizedClasses[$sAlias]); } - if (!empty($sLinkageAttribute)) { + // Only for main class + if (!empty($sLinkageAttribute) && $sClassName === $oSet->GetFilter()->GetClass()) { // The set to display is in fact a set of links between the object specified in the $sLinkageAttribute // and other objects... // The display will then group all the attributes related to the link itself: