From aaa35473895f83746dcbb891d07cf7997ed72c93 Mon Sep 17 00:00:00 2001 From: Martin Keckeis Date: Wed, 29 Jan 2014 11:14:31 +0100 Subject: [PATCH] Update Doctrine2.php --- src/ZfcDatagrid/DataSource/Doctrine2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZfcDatagrid/DataSource/Doctrine2.php b/src/ZfcDatagrid/DataSource/Doctrine2.php index 0967377b..6b8e8091 100644 --- a/src/ZfcDatagrid/DataSource/Doctrine2.php +++ b/src/ZfcDatagrid/DataSource/Doctrine2.php @@ -85,7 +85,7 @@ public function execute() $qb->addSelect('ABS(' . $colString . ') sortColumn' . $key); $qb->add('orderBy', new Expr\OrderBy('sortColumn' . $key, $sortCondition['sortDirection']), true); } else { - $qb->add('orderBy', new Expr\OrderBy($$column->getUniqueId(), $sortCondition['sortDirection']), true); + $qb->add('orderBy', new Expr\OrderBy($column->getUniqueId(), $sortCondition['sortDirection']), true); } } }