Skip to content

Commit

Permalink
Update Order.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaiMagal authored Nov 9, 2024
1 parent e9b6141 commit 412e31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/order/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,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.`id_order` DESC');
ORDER BY o.`date_add` DESC, o.`id_order` ASC);
if (!$res) {
return [];
Expand Down

0 comments on commit 412e31e

Please sign in to comment.