#92305indexedDocTitle is always overwritten by TypoScriptFrontendController::generatePageTitle()
Description
Besides the page title, there is the indexedDocTitle e.g for indexed_search. It’s useful for shorter titles (e.g. without website’s name). But it seems, since TYPO3 v9 (and pageTitle API?), this variable is always set to the page title in TypoScriptFrontendController::generatePageTitle():
if ($pageTitle !== '') {
$this->indexedDocTitle = $pageTitle;
}
indexedDocTitle is used for example by \GeorgRinger\News\ViewHelpers\TitleTagViewHelper or \FluidTYPO3\Vhs\ViewHelpers\Page\Header\TitleViewHelper
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 3
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2025-11-05T11:20:21+00:00" > 11/05/25, 11:20 </span>
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-09-07T20:22:25+00:00" > 09/07/26, 20:22 </span>Commit 1651f2a5e12 fixed it („[TASK] Move Page Title Generation for search out of TSFE”, #97861)
> This change removes the internal property “indexedDocTitle” which is filled by the PageTitleProvider API. This API is then moved to Indexed Search to use the same logic to fetch the “real” page title (without site title etc).
-
Georg Ringer changed Related to #97861 <span data-processor="relativetime" data-value="2026-09-07T20:22:29+00:00" > 09/07/26, 20:22 </span>
Is this issue still relevant? As far as I can see the lines cited in the description are absent from TypoScriptFrontendController::generatePageTitle() since TYPO3 12