[BUGFIX] Drop GROUP BY clause in Info > PageTS Config 65/58965/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 27 Nov 2018 15:18:22 +0000 (16:18 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 27 Nov 2018 18:34:48 +0000 (19:34 +0100)
The GROUP BY clause used in InfoPageTypoScriptConfigController's
`getOverviewOfPagesUsingTSConfig()` is dropped, as grouping by
a unique value doesn't make any sense.

Resolves: #87019
Related: #76484
Releases: master, 8.7
Change-Id: I0054064fb6f0bba9b65737bf323db364377bb4e6
Reviewed-on: https://review.typo3.org/58965
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/info_pagetsconfig/Classes/Controller/InfoPageTyposcriptConfigController.php

index 5a1fdd5..db2db55 100644 (file)
@@ -248,7 +248,6 @@ class InfoPageTyposcriptConfigController extends \TYPO3\CMS\Backend\Module\Abstr
                     $queryBuilder->createNamedParameter('', \PDO::PARAM_STR)
                 )
             )
-            ->groupBy('uid')
             ->execute();
 
         $pageArray = [];