From f458dd49c45de011b95f96a38536bf9375cc2e0c Mon Sep 17 00:00:00 2001 From: alexkue Date: Wed, 6 Nov 2019 09:12:58 +0100 Subject: [PATCH] [BUGFIX] Check for pages in extended TCA for sys_category Add the necessary `MM_match_fields` configuration to the extended TCA of sys_category to fetch the correct relations. --- Configuration/TCA/Overrides/sys_category.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Configuration/TCA/Overrides/sys_category.php b/Configuration/TCA/Overrides/sys_category.php index 57bbc5f6..95b807fe 100644 --- a/Configuration/TCA/Overrides/sys_category.php +++ b/Configuration/TCA/Overrides/sys_category.php @@ -112,6 +112,10 @@ 'allowed' => 'pages', 'foreign_table' => 'pages', 'MM' => 'sys_category_record_mm', + 'MM_match_fields' => [ + 'fieldname' => 'categories', + 'tablenames' => 'pages', + ], 'maxitems' => 1000 ], ],