Feature #20508 ยป 0011193.patch

Administrator Admin, 2009-05-26 18:32

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
7234 7234
		}
7235 7235

  
7236 7236
			// GROUP BY
7237
		if (trim($conf['groupBy']))	{
7238
			$queryParts['GROUPBY'] = trim($conf['groupBy']);
7237
		$groupBy = trim($this->stdWrap($conf['groupBy'], $conf['groupBy.']));
7238
		if ($groupBy) {
7239
			$queryParts['GROUPBY'] = $groupBy;
7239 7240
			$query.=' GROUP BY '.$queryParts['GROUPBY'];
7240 7241
		}
7241 7242

  
7242 7243
			// ORDER BY
7243
		if (trim($conf['orderBy']))	{
7244
			$queryParts['ORDERBY'] = trim($conf['orderBy']);
7244
		$orderBy = trim($this->stdWrap($conf['orderBy'], $conf['orderBy.']));
7245
		if ($orderBy) {
7246
			$queryParts['ORDERBY'] = $orderBy;
7245 7247
			$query.=' ORDER BY '.$queryParts['ORDERBY'];
7246 7248
		}
7247 7249

  
    (1-1/1)