* change the divider of order by, use ?\001 instead of |.

This commit is contained in:
wangchunsheng
2010-03-10 08:09:49 +00:00
parent ce54650fbc
commit 802dc067a9
12 changed files with 23 additions and 23 deletions
+3 -3
View File
@@ -73,7 +73,7 @@ class project extends control
}
/* 浏览某一个项目下面的任务。*/
public function task($projectID = 0, $orderBy = 'status|asc,id|desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
public function task($projectID = 0, $orderBy = 'statusasc,iddesc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
/* 公共的操作。*/
$project = $this->commonAction($projectID);
@@ -160,7 +160,7 @@ class project extends control
}
/* 浏览某一个项目下面的需求。*/
public function story($projectID = 0, $orderBy = 'status|desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
public function story($projectID = 0, $orderBy = 'statusdesc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
/* 加载story, user模块,加载task模块的语言。*/
$this->loadModel('story');
@@ -199,7 +199,7 @@ class project extends control
}
/* 浏览某一个项目下面的bug。*/
public function bug($projectID = 0, $orderBy = 'status,id|desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
public function bug($projectID = 0, $orderBy = 'status,iddesc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
/* 加载bug和user模块。*/
$this->loadModel('bug');