From 381d9b9a1eb53122b41ace3298ad38bd55a850dd Mon Sep 17 00:00:00 2001
From: Tim Wagner <tim.wagner@sgalinski.de>
Date: Mon, 23 Sep 2019 20:26:03 +0200
Subject: [PATCH] [TASK] Allow to change news dates independently in
 translations

---
 Configuration/TCA/Overrides/pages.php | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php
index 8f89a57..071d453 100644
--- a/Configuration/TCA/Overrides/pages.php
+++ b/Configuration/TCA/Overrides/pages.php
@@ -314,6 +314,9 @@ call_user_func(
 						'max' => '20',
 						'eval' => 'datetime',
 						'default' => $GLOBALS['EXEC_TIME'],
+						'behaviour' => [
+							'allowLanguageSynchronization' => TRUE,
+						]
 					]
 				],
 				'tx_sgnews_date_end' => [
@@ -325,6 +328,9 @@ call_user_func(
 						'max' => '20',
 						'eval' => 'datetime',
 						'default' => $GLOBALS['EXEC_TIME'],
+						'behaviour' => [
+							'allowLanguageSynchronization' => TRUE,
+						]
 					]
 				],
 				'tx_sgnews_location' => [
@@ -398,7 +404,9 @@ call_user_func(
 						'tx_projectbase_seo_canonicaltag',
 						'hidden',
 						'sys_language_uid',
-						'tx_languagevisibility_visibility'
+						'tx_languagevisibility_visibility',
+						'lastUpdated',
+						'tx_sgnews_date_end',
 					])
 				) {
 					$GLOBALS['TCA'][$table]['types'][\SGalinski\SgNews\Utility\BackendNewsUtility::NEWS_DOKTYPE]['columnsOverrides'][$languageExcludeField]['l10n_mode'] = 'exclude';
-- 
GitLab