[BUGFIX] Make preview of translated pages possible 63/47263/4
authorHeiko Hardt <heiko.hardt.t3@gmail.com>
Mon, 14 Mar 2016 21:45:30 +0000 (22:45 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 18 Mar 2016 10:00:16 +0000 (11:00 +0100)
commit071abf0d0b8441168ddee09ea3bc63de55263146
treea1a59cc7bd4ce2e74094a664aa506b6ab8c1c19b
parent9a64143a3efab4628d482480f8c25a8ed34a5109
[BUGFIX] Make preview of translated pages possible

This fix solves the problem that hidden page translations not are not
reviewable if logged in and "Show hidden pages" in admin panel is
enabled.

Treat records of "pages_language_overlay" as pages to make use of
the showHiddenPage flag.

Resolves: #75116
Releases: master, 7.6
Change-Id: I083ee3a90230b6c97eb20def93c9e96bfe31c4cb
Reviewed-on: https://review.typo3.org/47263
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/frontend/Classes/Page/PageRepository.php