From 9b30cc770f923c6ba38d438da5bbe8d4e6e7e9c6 Mon Sep 17 00:00:00 2001
From: Kevin Ditscheid <kevin.ditscheid@sgalinski.de>
Date: Mon, 11 Feb 2019 15:06:14 +0100
Subject: [PATCH] [BUGFIX] Add the slug field to category pages

---
 Configuration/TCA/Overrides/pages.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php
index 53593f0..e5ae54c 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, tx_realurl_pathsegment, tx_realurl_exclude,
+					title, slug, 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,
-- 
GitLab