* change the divider of order by, use ?\001 instead of |.
This commit is contained in:
@@ -40,7 +40,7 @@ class testtask extends control
|
||||
}
|
||||
|
||||
/* 浏览一个产品下面的task。*/
|
||||
public function browse($productID = 0, $orderBy = 'id|desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
|
||||
public function browse($productID = 0, $orderBy = 'iddesc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
|
||||
{
|
||||
/* 设置产品和菜单。*/
|
||||
$productID = common::saveProductState($productID, key($this->products));
|
||||
|
||||
Reference in New Issue
Block a user