diff --git a/eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php b/eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php index da8df32f898..29775f8dd35 100644 --- a/eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php +++ b/eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php @@ -300,7 +300,6 @@ private function getStatementSubtree($locationId, $count = false) ->innerJoin('c', 'ezcontentobject_tree', 't', 't.contentobject_id = c.id') ->where('c.status = :status') ->andWhere('t.path_string LIKE :path') - ->orderBy('t.path_string') ->setParameter('status', ContentInfo::STATUS_PUBLISHED, PDO::PARAM_INT) ->setParameter('path', $location->pathString . '%', PDO::PARAM_STR);