* change the divider of orderby.

This commit is contained in:
wangchunsheng
2010-03-28 13:01:33 +00:00
parent a921717f43
commit 52d38d5a88
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class testtaskModel extends model
}
/* 获得某一个产品的测试任务列表。*/
public function getProductTasks($productID, $orderBy = 'iddesc', $pager = null)
public function getProductTasks($productID, $orderBy = 'id_desc', $pager = null)
{
return $this->dao->select('t1.*, t2.name AS productName, t3.name AS projectName, t4.name AS buildName')->from(TABLE_TESTTASK)->alias('t1')
->leftJoin(TABLE_PRODUCT)->alias('t2')->on('t1.product = t2.id')