Merge branch 'sprint/hufangzhou_productOrder' into 'master'
* Make the order of products in the product drop-down consistent with the product list. See merge request easycorp/zentaopms!3836
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user