diff --git a/module/project/control.php b/module/project/control.php index f8b6bbfe54..fd7736e809 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -37,7 +37,7 @@ class project extends control * @access public * @return void */ - public function index($locate = 'yes', $status = 'undone', $projectID = 0) + public function index($locate = 'yes', $status = 'all', $projectID = 0) { if(empty($this->projects)) $this->locate($this->createLink('project', 'create')); if($locate == 'yes') $this->locate($this->createLink('project', 'task')); diff --git a/module/project/view/index.html.php b/module/project/view/index.html.php index f71743fe15..f33e3c7800 100644 --- a/module/project/view/index.html.php +++ b/module/project/view/index.html.php @@ -13,6 +13,7 @@

+ id"), $lang->project->allProject);?> id"), $lang->project->statusList['wait']);?> id"), $lang->project->statusList['doing']);?> id"), $lang->project->statusList['suspended']);?>