From 2860bc79deaa65c64e6bd3589cec6f9c6b0278c7 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Wed, 10 Feb 2010 07:13:13 +0000 Subject: [PATCH] + when link story to a plan, change the status condition. --- trunk/module/productplan/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/module/productplan/control.php b/trunk/module/productplan/control.php index 9c173e116c..8ec8e98e51 100644 --- a/trunk/module/productplan/control.php +++ b/trunk/module/productplan/control.php @@ -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;