remove repeated order by on lang loop

This commit is contained in:
Manuel Raynaud
2014-02-14 08:51:54 +01:00
parent 12124aa640
commit bdde643a56

View File

@@ -87,7 +87,7 @@ class Lang extends BaseLoop implements PropelSearchLoopInterface
$search->filterById($exclude, Criteria::NOT_IN);
}
$search->orderByPosition(Criteria::ASC);
$orders = $this->getOrder();
foreach ($orders as $order) {