diff --git a/module/product/control.php b/module/product/control.php index 8b72c27bfd..dbc91586cf 100644 --- a/module/product/control.php +++ b/module/product/control.php @@ -49,7 +49,7 @@ class product extends control } /* 浏览某一个产品。*/ - public function browse($productID = 0, $moduleID = 0, $orderBy = 'id|desc', $recTotal = 0, $recPerPage = 15, $pageID = 1) + public function browse($productID = 0, $moduleID = 0, $orderBy = 'id|desc', $recTotal = 0, $recPerPage = 20, $pageID = 1) { //$this->config->product->search['actionURL'] = $this->createLink('product', 'browse', "productID=$productID&type=byQuery"); //$this->assign('searchForm', $this->fetch('search', 'buildForm', $this->config->product->search)); diff --git a/module/project/control.php b/module/project/control.php index e2bbe88535..0695076c48 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -72,7 +72,7 @@ class project extends control } /* 浏览某一个项目下面的任务。*/ - public function task($projectID = 0, $orderBy = 'status|asc,id|desc', $recTotal = 0, $recPerPage = 15, $pageID = 1) + public function task($projectID = 0, $orderBy = 'status|asc,id|desc', $recTotal = 0, $recPerPage = 20, $pageID = 1) { /* 加载任务模块。*/ $this->loadModel('task'); @@ -109,7 +109,7 @@ class project extends control } /* 浏览某一个项目下面的需求。*/ - public function story($projectID = 0, $orderBy = 'status|desc', $recTotal = 0, $recPerPage = 15, $pageID = 1) + public function story($projectID = 0, $orderBy = 'status|desc', $recTotal = 0, $recPerPage = 20, $pageID = 1) { /* 加载story, user模块,加载task模块的语言。*/ $this->loadModel('story'); @@ -148,7 +148,7 @@ class project extends control } /* 浏览某一个项目下面的bug。*/ - public function bug($projectID = 0, $orderBy = 'status,id|desc', $recTotal = 0, $recPerPage = 15, $pageID = 1) + public function bug($projectID = 0, $orderBy = 'status,id|desc', $recTotal = 0, $recPerPage = 20, $pageID = 1) { /* 加载bug和user模块。*/ $this->loadModel('bug');