From dff400e3982f07794ca45bf460e5285e5d5373e4 Mon Sep 17 00:00:00 2001 From: Achim Fritz Date: Fri, 10 Apr 2026 13:45:29 +0200 Subject: [PATCH] [BUGFIX] prevent deprecations --- Configuration/TCA/Overrides/sys_comment.php | 5 +++++ Configuration/TCA/sys_comment.php | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 Configuration/TCA/Overrides/sys_comment.php diff --git a/Configuration/TCA/Overrides/sys_comment.php b/Configuration/TCA/Overrides/sys_comment.php new file mode 100644 index 0000000..efa8916 --- /dev/null +++ b/Configuration/TCA/Overrides/sys_comment.php @@ -0,0 +1,5 @@ +getMajorVersion() < 14) { + $GLOBALS['TCA']['sys_comment']['ctrl']['searchFields'] = 'explanation'; +} \ No newline at end of file diff --git a/Configuration/TCA/sys_comment.php b/Configuration/TCA/sys_comment.php index 050f269..a2decbd 100644 --- a/Configuration/TCA/sys_comment.php +++ b/Configuration/TCA/sys_comment.php @@ -5,10 +5,8 @@ 'title' => 'Comment', 'label' => 'explanation', 'crdate' => 'createdon', - 'cruser_id' => 'author', 'delete' => 'isresolved', 'default_sortby' => 'createdon DESC', - 'searchFields' => 'explanation', 'hideTable' => true, 'rootLevel' => -1, 'iconfile' => 'EXT:annotate/Resources/Public/Icons/Extension.png',