From 30597a22f5b601fc1fe66fbf6e588a320a9bbc40 Mon Sep 17 00:00:00 2001
From: Kevin Ditscheid <kevin.ditscheid@sgalinski.de>
Date: Wed, 6 Mar 2019 11:16:12 +0100
Subject: [PATCH] [BUGFIX] Add the slug exclude field after slug field

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

diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php
index 83de5f5..b280671 100644
--- a/Configuration/TCA/Overrides/pages.php
+++ b/Configuration/TCA/Overrides/pages.php
@@ -92,7 +92,7 @@ call_user_func(
 		$GLOBALS['TCA'][$table]['types'][\SGalinski\SgNews\Utility\BackendNewsUtility::CATEGORY_DOKTYPE] = [
 			'showitem' => '--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
 					--palette--;;standard,
-					title, slug, tx_realurl_pathsegment, tx_realurl_exclude,
+					title, slug, tx_projectbase_excludefromsluggeneration, tx_realurl_pathsegment, tx_realurl_exclude,
 				--div--;' . $localLangDbPath . $table . '.tabs.images,
 					tx_sgnews_teaser2_image, tx_sgnews_teaser1_image,
 				--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:' . $table . '.tabs.metadata,
@@ -345,6 +345,7 @@ call_user_func(
 			--linebreak--, title,
 			--linebreak--, description,
 			--linebreak--, slug,
+			--linebreak--, tx_projectbase_excludefromsluggeneration,
 			--linebreak--, tx_realurl_pathsegment, tx_realurl_exclude,
 			--linebreak--, tx_sgnews_highlighted, tx_sgnews_never_highlighted',
 			'canNotCollapse' => 1,
@@ -385,6 +386,7 @@ call_user_func(
 						'subtitle',
 						'description',
 						'slug',
+						'tx_projectbase_excludefromsluggeneration',
 						'tx_sgnews_location',
 						'tx_sgnews_teaser1_image',
 						'tx_sgnews_teaser2_image',
-- 
GitLab