From 4f5529867bef9a8bbb8842bfb9d5f54e434281df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A1=E6=A0=8B?= Date: Wed, 6 Apr 2022 13:13:29 +0800 Subject: [PATCH] * code for bug #20933. --- module/execution/control.php | 2 +- module/project/control.php | 2 +- module/project/model.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/execution/control.php b/module/execution/control.php index 98c1b23534..74e9c7da44 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -3261,7 +3261,7 @@ class execution extends control * @access public * @return void */ - public function all($status = 'all', $projectID = 0, $orderBy = 'order_asc', $productID = 0, $recTotal = 0, $recPerPage = 10, $pageID = 1) + public function all($status = 'all', $projectID = 0, $orderBy = 'order_asc', $productID = 0, $recTotal = 0, $recPerPage = 100, $pageID = 1) { $this->app->loadLang('my'); $this->app->loadLang('product'); diff --git a/module/project/control.php b/module/project/control.php index 843bf13a32..67d0753b65 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -910,7 +910,7 @@ class project extends control * @access public * @return void */ - public function execution($status = 'all', $projectID = 0, $orderBy = 'order_asc', $productID = 0, $recTotal = 0, $recPerPage = 10, $pageID = 1) + public function execution($status = 'all', $projectID = 0, $orderBy = 'order_asc', $productID = 0, $recTotal = 0, $recPerPage = 100, $pageID = 1) { $uri = $this->app->getURI(true); $this->app->session->set('executionList', $uri, 'project'); diff --git a/module/project/model.php b/module/project/model.php index bd466543f9..3fbca9bb4f 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -1960,7 +1960,7 @@ class projectModel extends model * @param string $orderBy * @param object $pager * @access public - * @return void + * @return array */ public function getStats($projectID = 0, $status = 'undone', $productID = 0, $branch = 0, $itemCounts = 30, $orderBy = 'id_asc', $pager = null) {