Bug #26885 » issue26885.patch

Ferdinand Kuhl, 2011-08-27 15:09

View differences:

Classes/Persistence/Doctrine/Query.php
163 163
		$this->orderings = $orderings;
164 164
		$this->queryBuilder->resetDQLPart('orderBy');
165 165
		foreach ($this->orderings AS $propertyName => $order) {
166
			$this->queryBuilder->addOrderBy($this->queryBuilder->getRootAlias() . '.' . $propertyName, $order);
166
			$this->queryBuilder->addOrderBy($this->getPropertyNameWithAlias($propertyName), $order);
167 167
		}
168 168
		return $this;
169 169
	}
170
- 
(2-2/2)