From b2b058fd8570fb09636379dee97e0c82c896f5cb Mon Sep 17 00:00:00 2001 From: Benjamin Kott Date: Fri, 20 Mar 2020 12:01:45 +0100 Subject: [PATCH] [!!!][BUGFIX] Respect PageTsConfig limitation for authors From now on the PAGE_TSCONFIG_ID is respected for authors in the backend. If you have not configured a storage pid for this records before please adjust your configuration. TsConfig Example: TCEFORM.pages.authors.PAGE_TSCONFIG_ID = 59 Fixes: #123 --- Configuration/TCA/Overrides/pages.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php index 7ee1e968..fdb9d4f0 100644 --- a/Configuration/TCA/Overrides/pages.php +++ b/Configuration/TCA/Overrides/pages.php @@ -190,6 +190,7 @@ 'renderType' => 'selectMultipleSideBySide', 'multiple' => 0, 'foreign_table' => 'tx_blog_domain_model_author', + 'foreign_table_where' => 'AND tx_blog_domain_model_author.pid = ###PAGE_TSCONFIG_ID### ORDER BY tx_blog_domain_model_author.name ASC', 'MM' => 'tx_blog_post_author_mm', 'minitems' => 0, 'maxitems' => 99999,