From dc5886ba661f8dce9b6423a31366b1de3a82c5cc Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Fri, 21 Jun 2024 11:24:40 +0200 Subject: [PATCH 1/2] Fix expanded state not getting red correctly --- Classes/Xclass/ContainerPreviewRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Xclass/ContainerPreviewRenderer.php b/Classes/Xclass/ContainerPreviewRenderer.php index 2d4b5d1..9f72d39 100644 --- a/Classes/Xclass/ContainerPreviewRenderer.php +++ b/Classes/Xclass/ContainerPreviewRenderer.php @@ -120,7 +120,7 @@ public function renderPageModulePreviewContent(GridColumnItem $item): string protected function getColumnCollapsedState(int $recordUid, int $colPos, array $col): bool { $collapseId = $recordUid . ContainerGridColumn::CONTAINER_COL_POS_DELIMITER_V12 . $colPos; - if ($this->getBackendUser()->uc['moduleData']['list']['containerExpanded'][$collapseId] ?? false) { + if (isset($this->getBackendUser()->uc['moduleData']['list']['containerExpanded'][$collapseId])) { $collapsed = $this->getBackendUser()->uc['moduleData']['list']['containerExpanded'][$collapseId] > 0; } else { $collapsed = (bool)($col['collapsed'] ?? false); From d48be0c2b6938a79380ef6f8a2fe34f56c291210 Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Fri, 21 Jun 2024 11:26:56 +0200 Subject: [PATCH 2/2] Raise version number --- Documentation/guides.xml | 4 ++-- ext_emconf.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/guides.xml b/Documentation/guides.xml index ae13a90..3d745cc 100644 --- a/Documentation/guides.xml +++ b/Documentation/guides.xml @@ -16,8 +16,8 @@ interlink-shortcode="evoweb/sf-books" /> diff --git a/ext_emconf.php b/ext_emconf.php index 6cb53bb..2349fa3 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -8,7 +8,7 @@ 'author_email' => 'ew-collapsible-container@evoweb.de', 'author_company' => 'evoWeb', 'state' => 'stable', - 'version' => '1.4.2', + 'version' => '1.4.3', 'constraints' => [ 'depends' => [ 'typo3' => '11.5.0-13.4.99',