#23887In t3lib_BEfunc::viewOnClick, parameter $altUrl doesn't ignore all other parameters
Description
The method documentation for t3lib_BEfunc::viewOnClick states that
- @param string $altUrl is an alternative URL which – if set – will make all other parameters ignored: The function will just return the window.open command wrapped around this URL!
This is, however, not the case and it hasn’t been since Rev. 4482.
Issue 0011468 addresses this, but the resolution doesn’t make using $altUrl work as documented as ($altUrl is used as part of the computed view url).
Solution: use $altUrl as (complete) view url if set. Otherwise compute view url based on other parameters.
(issue imported from #M16188)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.