From c70447da5909a885036a6083b4fcd524566e7d0b Mon Sep 17 00:00:00 2001 From: Hannes Bochmann Date: Wed, 18 Dec 2024 15:58:59 +0100 Subject: [PATCH] Bugfix sorting shoud be discarded by DataHandler and not passed through fixes #12 --- Configuration/TCA/Overrides/tt_content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index 9c40865..a1b536d 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -14,4 +14,4 @@ */ $GLOBALS['TCA']['tt_content']['columns']['image']['config']['customControls']['addHeader']['userFunc'] = DMK\MkContentAi\User\InlineControl\ImageGenerationButton::class.'->render'; -$GLOBALS['TCA']['tt_content']['columns']['sorting']['config']['type'] = 'passthrough'; +$GLOBALS['TCA']['tt_content']['columns']['sorting']['config']['type'] = 'none';