From 016e742206d7d5dda8b1f3c99e17eb47e4108669 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 22 Apr 2020 18:54:28 +0200 Subject: [PATCH] Sort CType by label, new v10 feature --- Configuration/TCA/Overrides/tt_content.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index 8713091..766bd79 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -31,6 +31,13 @@ 'eval' => 'required, trim', ], ], + 'CType' => [ + 'config' => [ + 'sortItems' => [ + 'label' => 'asc', + ], + ], + ], ], ]); })('ds_site', 'tt_content', 'image');