* Code for task #43994.

This commit is contained in:
孙广明
2021-11-08 13:18:53 +08:00
parent 2fb46989d3
commit 1ecb25aabc
+1 -1
View File
@@ -468,7 +468,7 @@ class projectModel extends model
* @access public
* @return object
*/
public function getPairsByProgram($programID = 0, $status = 'all', $isQueryAll = false, $orderBy = 'id_desc')
public function getPairsByProgram($programID = 0, $status = 'all', $isQueryAll = false, $orderBy = 'order_asc')
{
if(defined('TUTORIAL')) return $this->loadModel('tutorial')->getProjectPairs();
return $this->dao->select('id, name')->from(TABLE_PROJECT)