#105979Workspace record preview with route enhancer does not work
Description
When trying to preview the detail page of a record in a workspace the preview controller generates urls like:
/detail-page/record-slug/?ADMCMD_prev=LIVE&id=123
/detail-page/record-slug/?ADMCMD_prev=IGNORE&id=123
The extra id query parameter will lead to an early return in the PageRouter (https://github.com/TYPO3/typo3/blob/12.4/typo3/sysext/core/Classes/Routing/PageRouter.php#L108) and not applying the route enhancers.
Unsetting the id query parameter here in the PreviewController before generating the urls resolves the issue