diff --git a/classes/order/Order.php b/classes/order/Order.php index 7e3cf5c7b1df1..34ef8cc9463de 100644 --- a/classes/order/Order.php +++ b/classes/order/Order.php @@ -993,7 +993,7 @@ public static function getCustomerOrders($id_customer, $show_hidden_status = fal WHERE o.`id_customer` = ' . (int) $id_customer . Shop::addSqlRestriction(Shop::SHARE_ORDER) . ' GROUP BY o.`id_order` - ORDER BY o.`date_add` DESC'); + ORDER BY o.`date_add` DESC, o.`id_order` ASC'); if (!$res) { return [];