Browse Source

CP Shop new orders always at top

Vova Tkach 5 years ago
parent
commit
62b4de18dc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/module_shop.go

+ 1 - 0
modules/module_shop.go

@@ -1080,6 +1080,7 @@ func (this *Modules) RegisterModule_Shop() *Module {
 									order_id
 							) as shop_order_total ON shop_order_total.order_id = shop_orders.id
 						ORDER BY
+							shop_orders.status ASC,
 							shop_orders.id DESC
 						LIMIT ?, ?;`,
 						limit_offset,