From ece4c4339a3de70a2d37c9804cde406790744de5 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 22 Dec 2025 13:07:33 +0100 Subject: [PATCH] [FEATURE] Show parent container title in "Container" CE field Instead of showing the CType in the tx_container_parent dropdown as it was up to now. Resolves: https://github.com/b13/container/issues/667 --- Classes/Tca/ItemProcFunc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Tca/ItemProcFunc.php b/Classes/Tca/ItemProcFunc.php index 2daacc62..252630ee 100644 --- a/Classes/Tca/ItemProcFunc.php +++ b/Classes/Tca/ItemProcFunc.php @@ -85,7 +85,7 @@ public function txContainerParent(array &$parameters): void $container = $this->containerFactory->buildContainer((int)$row['tx_container_parent']); $cType = $container->getCType(); $items[] = [ - $cType, + $container->getContainerRecord()['header'] ?? $cType, $row['tx_container_parent'], ]; } catch (Exception $e) {