From 8051ea98baaccf8adde43b9d5faf232414427c7f Mon Sep 17 00:00:00 2001 From: Oliver Bartsch <bo@cedev.de> Date: Tue, 1 Mar 2022 22:15:29 +0100 Subject: [PATCH] [BUGFIX] Add missing packageName to RecordSearchBoxComponent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the class is called in another context, the packageName must be defined explicitly. Resolves: #97074 Related: #96601 Releases: main Change-Id: I6284f3ba3db426086469fa1d569dcce2729801db Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73758 Tested-by: core-ci <typo3@b13.com> Tested-by: Stefan Bürk <stefan@buerk.tech> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Stefan Bürk <stefan@buerk.tech> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> --- ...portant-93635-AddMailConfigurationForSettingSmtpDomain.rst | 4 ++-- .../recordlist/Classes/View/RecordSearchBoxComponent.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/typo3/sysext/core/Documentation/Changelog/11.5.x/Important-93635-AddMailConfigurationForSettingSmtpDomain.rst b/typo3/sysext/core/Documentation/Changelog/11.5.x/Important-93635-AddMailConfigurationForSettingSmtpDomain.rst index 08878e4c1b17..924b0f572afa 100644 --- a/typo3/sysext/core/Documentation/Changelog/11.5.x/Important-93635-AddMailConfigurationForSettingSmtpDomain.rst +++ b/typo3/sysext/core/Documentation/Changelog/11.5.x/Important-93635-AddMailConfigurationForSettingSmtpDomain.rst @@ -1,8 +1,8 @@ .. include:: ../../Includes.txt -================================================================ +================================================================== Important: #93635 - Add mail configuration for setting smtp domain -================================================================ +================================================================== See :issue:`93635` diff --git a/typo3/sysext/recordlist/Classes/View/RecordSearchBoxComponent.php b/typo3/sysext/recordlist/Classes/View/RecordSearchBoxComponent.php index 0a3c3d39ac0a..dd3a7b697d88 100644 --- a/typo3/sysext/recordlist/Classes/View/RecordSearchBoxComponent.php +++ b/typo3/sysext/recordlist/Classes/View/RecordSearchBoxComponent.php @@ -55,7 +55,7 @@ class RecordSearchBoxComponent public function render(ServerRequestInterface $request, string $formUrl = ''): string { - $view = $this->backendViewFactory->create($request); + $view = $this->backendViewFactory->create($request, ['typo3/cms-recordlist']); return $view ->assignMultiple([ 'formUrl' => $formUrl, -- GitLab