mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2019: addOrderBy function incomplete #2544
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Sep 7, 2012).
Originally assigned to: @asm89 on GitHub.
Jira issue originally created by user jforet:
In QueryBuilder.php, just change or complete addOrderBy function
{quote}
public function addOrderBy($sort, $order = null)
{
$orderBy = ($sort instanceof Expr\OrderBy) ? $sort : new Expr\OrderBy($sort, $order);
}
{quote}
@doctrinebot commented on GitHub (Feb 9, 2013):
Comment created by @asm89:
Fixed in
1a163cd48d@doctrinebot commented on GitHub (Feb 9, 2013):
Issue was closed with resolution "Fixed"