Project

General

Profile

Feature #20508 ยป 0011193.patch

Administrator Admin, 2009-05-26 18:32

View differences:

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'];
}
    (1-1/1)