Element browser does not submit all GET parameters
\TYPO3\CMS\Recordlist\Browser\ElementBrowse@r the parameters that are appended to the tab links are configured in the $addPassOnParams@ array in the
The selection of the fields that are passed on by default seems a bit random.
For example the fields
P[pid] are not submitted which are quite important when you want to retrieve Page TSConfig in your custom link handler.
Is there a reason why these fields are not added to the links?
[TASK] Keep uid / pid parameters in element browser URLs
The uid and pid parameters will now be passed on in the jumpToUrl()
function of the element browser. This makes sure that Page TSConfig
can still be retrieved when the user clicks on a tab.
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
#1 Updated by Alexander Stehlik about 6 years ago
These are the fields that are originally submitted when the wizard is opened:
&P[fieldConfig] (array with multiple values) &P[params] &P[exampleImg] &P[table] &P[uid] &P[pid] &P[field] &P[flexFormPath] &P[md5ID] &P[returnUrl] &P[formName] &P[itemName] &P[hmac] &P[fieldChangeFunc] (array with multiple values) &P[fieldChangeFuncHash] &P[currentValue] &P[currentSelectedValues]
These are the fields that are passed on in
$P2['itemName'] $P2['formName'] $P2['fieldChangeFunc'] $P2['fieldChangeFuncHash'] $P2['params']['allowedExtensions'] $P2['params']['blindLinkOptions'] $P2['params']['blindLinkFields']