[BUGFIX] Only show default language pages for sorting 08/56808/2
authorBenni Mack <benni@typo3.org>
Wed, 25 Apr 2018 15:31:28 +0000 (17:31 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 25 Apr 2018 21:32:56 +0000 (23:32 +0200)
commit8bae8feddf8b780dddb419a2f0f3e4fff233df63
tree70e31cfd6b411225c3bb6e1dee93560e0d641057
parentd1a3cfb062d6c6fe3a557048a7bd44a6ec659b91
[BUGFIX] Only show default language pages for sorting

The sorting of subpages also shows all translations
which leads to very bad side-effects due to the removal
of pages_language_overlay. This case wasn't fixed yet.

The query for fetching all subpages is now adapted to
only fetch pages with sys_language_uid=0.

Resolves: #84871
Releases: master
Change-Id: Id5e491db2d05fb03f297b4b843971ba8d45dfba9
Reviewed-on: https://review.typo3.org/56808
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Controller/Page/SortSubPagesController.php