+ when link story to a plan, change the status condition.

This commit is contained in:
wangchunsheng
2010-02-10 07:13:13 +00:00
parent c328975495
commit 2860bc79de

View File

@@ -114,7 +114,7 @@ class productplan extends control
$this->commonAction($plan->product);
$this->view->header->title = $this->lang->productplan->linkStory;
$this->view->position[] = $this->lang->productplan->linkStory;
$this->view->allStories = $this->loadModel('story')->getProductStories($this->view->product->id, $moduleID = '0', $status = 'wait, doing');
$this->view->allStories = $this->loadModel('story')->getProductStories($this->view->product->id, $moduleID = '0', $status = 'draft,active,changed');
$this->view->planStories= $this->story->getPlanStories($planID);
$this->view->products = $this->product->getPairs();
$this->view->plan = $plan;