From aad4354fdf53a78ec216a627c0bdfd44285395ab Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Tue, 2 Jul 2013 02:11:41 +0000 Subject: [PATCH] * finish task#1458. --- module/project/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/project/control.php b/module/project/control.php index c9bc5cddec..95b7b8f996 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -1353,6 +1353,8 @@ class project extends control $this->config->product->search['queryID'] = $queryID; $this->config->product->search['params']['product']['values'] = $products + array('all' => $this->lang->product->allProductsOfProject); $this->config->product->search['params']['plan']['values'] = $this->loadModel('productplan')->getForProducts($products); + unset($this->lang->story->statusList['draft']); + $this->config->product->search['params']['status'] = array('operator' => '=', 'control' => 'select', 'values' => $this->lang->story->statusList); $this->loadModel('search')->setSearchParams($this->config->product->search); $title = $project->name . $this->lang->colon . $this->lang->project->linkStory;