Skip to content

Commit

Permalink
[BUGFIX] Keep parameters in link browser’s upload form
Browse files Browse the repository at this point in the history
Any given attribute stored in the `P` parameter is kept and attached to
the return URL of the upload form.

Resolves: #83923
Releases: master, 8.7, 7.6
Change-Id: Id6ff93f0a30691f7bde84275128a34eb479499de
Reviewed-on: https://review.typo3.org/56592
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Steffen Kamper <info@sk-typo3.de>
Tested-by: Steffen Kamper <info@sk-typo3.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
  • Loading branch information
andreaskienast authored and liayn committed Apr 6, 2018
1 parent b01ef29 commit 63f70ad
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -558,7 +558,8 @@ protected function getLinkAttributeFieldDefinitions()
public function getUrlParameters(array $overrides = null)
{
return [
'act' => $overrides['act'] ?? $this->displayedLinkHandlerId
'act' => $overrides['act'] ?? $this->displayedLinkHandlerId,
'P' => $overrides['P'] ?? $this->parameters,
];
}

Expand Down

0 comments on commit 63f70ad

Please sign in to comment.