* Make the order of products in the product drop-down consistent with the product list.

This commit is contained in:
hufangzhou
2022-06-09 16:25:29 +08:00
parent e407b58e2a
commit 4385eab733
+1 -1
View File
@@ -278,7 +278,7 @@ class productModel extends model
->orWhere('t1.createdBy')->eq($this->app->user->account)
->markRight(1)
->fi()
->orderBy('t1.program_asc,t1.order_asc')
->orderBy('t2.order_asc, t1.line_desc, t1.order_desc')
->beginIF($limit > 0)->limit($limit)->fi()
->fetchAll('id');
}