[DDC-2019] addOrderBy function incomplete Created: 07/Sep/12  Updated: 09/Feb/13  Resolved: 09/Feb/13

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: ORM
Affects Version/s: 2.2.3
Fix Version/s: 2.4

Type: Bug Priority: Minor
Reporter: Jérôme Forêt Assignee: Alexander
Resolution: Fixed Votes: 0
Labels: None


 Description   

In QueryBuilder.php, just change or complete addOrderBy function

public function addOrderBy($sort, $order = null)

Unknown macro: { $orderBy = ($sort instanceof ExprOrderBy) ? $sort }


 Comments   
Comment by Alexander [ 09/Feb/13 ]

Fixed in https://github.com/doctrine/doctrine2/commit/1a163cd48dc8b691351f0a9fee3e2286fe0af984

Generated at Sun Apr 20 09:20:03 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.