[BUGFIX] Use PageTitle API for indexed_search 54/60354/7
authorJonas Schwabe <jonas.schwabe@eyeworkers.de>
Fri, 29 Mar 2019 16:52:11 +0000 (17:52 +0100)
committerRichard Haeser <richard@maxserv.com>
Wed, 10 Apr 2019 09:04:49 +0000 (11:04 +0200)
commitf04f4e80cba9f7a957ff40c161b65d0a1d5afe6f
treedfda5740973b8d5241497d524567307f76aac68e
parent44a99315f369234b2eb1aa918aa2f7df8c16def0
[BUGFIX] Use PageTitle API for indexed_search

The value of indexedDocTitle was not updated when a title had been
generated by the PageTitle API. This simply writes the generated
page title to indexedDocTitle so that it can be used in the
indexed hook.

Resolves: #88041
Releases: master, 9.5
Change-Id: I8ac1fd8295447aafa7e175fb09fa11f565442019
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60354
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Richard Haeser <richard@maxserv.com>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php