Feature #20508 ยป 0011193.patch
typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie) | ||
---|---|---|
}
|
||
// GROUP BY
|
||
if (trim($conf['groupBy'])) {
|
||
$queryParts['GROUPBY'] = trim($conf['groupBy']);
|
||
$groupBy = trim($this->stdWrap($conf['groupBy'], $conf['groupBy.']));
|
||
if ($groupBy) {
|
||
$queryParts['GROUPBY'] = $groupBy;
|
||
$query.=' GROUP BY '.$queryParts['GROUPBY'];
|
||
}
|
||
// ORDER BY
|
||
if (trim($conf['orderBy'])) {
|
||
$queryParts['ORDERBY'] = trim($conf['orderBy']);
|
||
$orderBy = trim($this->stdWrap($conf['orderBy'], $conf['orderBy.']));
|
||
if ($orderBy) {
|
||
$queryParts['ORDERBY'] = $orderBy;
|
||
$query.=' ORDER BY '.$queryParts['ORDERBY'];
|
||
}
|
||