From 52f54a1e5422147dac2be0470475e259647d1b8b Mon Sep 17 00:00:00 2001 From: Martin Eiber Date: Fri, 11 Oct 2024 10:15:39 +0200 Subject: [PATCH] [Grid] [Dataobject] Add Folder ID to custom layout getter. (#480) --- .../Column/Collector/DataObject/FieldDefinitionCollector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grid/Column/Collector/DataObject/FieldDefinitionCollector.php b/src/Grid/Column/Collector/DataObject/FieldDefinitionCollector.php index b8ec1690..6a553204 100644 --- a/src/Grid/Column/Collector/DataObject/FieldDefinitionCollector.php +++ b/src/Grid/Column/Collector/DataObject/FieldDefinitionCollector.php @@ -71,7 +71,7 @@ public function getColumnConfigurations(array $availableColumnDefinitions): arra $filteredDefinitions = $this->dataObjectServiceResolver->getCustomLayoutDefinitionForGridColumnConfig( $classDefinition, - 744 + $this->getFolderId() ); if (!isset($filteredDefinitions['layoutDefinition'])) {