Skip to content
Snippets Groups Projects
Commit aced807c authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Christian Kuhn
Browse files

[BUGFIX] Page TSconfig module: Do not list pages twice

Given a page has TSconfig and it is translated, then the translation
is also listed which blow ups the overview unnecessarily and is somehow confusing too, because page translations
don't show the field TSconfig in BE.

Resolves: #100303
Releases: main
Change-Id: If8ac2f01a0c4ba99983f8389909d854a911d0c76
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78256


Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 0166802d
Branches
Tags
No related merge requests found
......@@ -27,6 +27,7 @@ use TYPO3\CMS\Backend\Template\ModuleTemplate;
use TYPO3\CMS\Backend\Template\ModuleTemplateFactory;
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
use TYPO3\CMS\Core\Database\Connection;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction;
use TYPO3\CMS\Core\Database\Query\Restriction\WorkspaceRestriction;
......@@ -117,6 +118,10 @@ final class PageTsConfigRecordsOverviewController
$queryBuilder->expr()->neq(
'TSconfig',
$queryBuilder->createNamedParameter('')
),
$queryBuilder->expr()->eq(
'sys_language_uid',
$queryBuilder->createNamedParameter(0, Connection::PARAM_INT)
)
)
->executeQuery();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment