* Adjust the order.

This commit is contained in:
tianshujie98
2020-11-24 13:51:42 +08:00
parent ad283b76c6
commit 8ad7105f01
+1 -1
View File
@@ -773,7 +773,7 @@ class productModel extends model
->beginIF($branch)->andWhere('t1.branch')->in($branch)->fi()
->beginIF(!$this->app->user->admin)->andWhere('t2.id')->in($this->app->user->view->sprints)->fi()
->beginIF($status == 'nodeleted')->andWhere('t2.deleted')->eq('0')->fi()
->orderBy('t2.id desc')
->orderBy('t2.begin asc')
->fetchPairs();
$executions = array('0' => '') + $executions;