[BUGFIX] Drop sorting in COUNT() query in list module 77/53677/2
authorSusanne Moog <susanne.moog@typo3.com>
Fri, 11 Aug 2017 09:27:51 +0000 (11:27 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Fri, 11 Aug 2017 10:59:18 +0000 (12:59 +0200)
commit3c91f5447a049c60bd65a1ac0fd03fa230c19e43
tree14eb15f546ccaff55d5542dacdc09a22c91861c1
parentee2bd7b90e3f8a621dfb93c71c90780bc4d1fb95
[BUGFIX] Drop sorting in COUNT() query in list module

The list module throws an exception on mssql as there
is a COUNT(*) query done with an ORDER BY sorting.

Sorting the count is pretty useless and has been
removed.

Change-Id: I8d94da2dc3dfecb7c20308180e9916b16b152b01
Resolves: #82084
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53677
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/recordlist/Classes/RecordList/AbstractDatabaseRecordList.php