[BUGFIX] Remove orderBy in count query 38/54638/2
authorSusanne Moog <susanne.moog@typo3.com>
Tue, 14 Nov 2017 14:19:25 +0000 (15:19 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Tue, 14 Nov 2017 14:30:32 +0000 (15:30 +0100)
commit4f04f40fc84562348070a6dfc7cf1c7258a8c664
treeb952fd721f119167bb1a6bbab9ce9eee1d6e002b
parentab77786bd0cbf114b18a3fd3e124bfc4b10107de
[BUGFIX] Remove orderBy in count query

OrderBy does not make sense in a count only query and
fails on SQL Server, hence it is removed.

Change-Id: I676d1913f75c29dd71345dbc0f626e99df0d242f
Resolves: #82994
Releases: master
Reviewed-on: https://review.typo3.org/54638
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Tree/Pagetree/DataProvider.php