From 3b87eda7440cb1a2d3b88fc3fed019cb90df59d7 Mon Sep 17 00:00:00 2001 From: chenfeiCF Date: Mon, 14 Nov 2016 17:05:40 +0800 Subject: [PATCH] * finish task #2780. --- module/productplan/control.php | 1 + module/productplan/view/view.html.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/module/productplan/control.php b/module/productplan/control.php index 6bc515c4bb..c6ca13e2b1 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -230,6 +230,7 @@ class productplan extends control $this->view->actions = $this->loadModel('action')->getList('productplan', $planID); $this->view->users = $this->loadModel('user')->getPairs('noletter'); $this->view->plans = $this->productplan->getPairs($plan->product, $plan->branch); + $this->view->modules = array('0' => '/') + $this->loadModel('tree')->getModulePairs($plan->product, 'story'); $this->view->type = $type; $this->view->orderBy = $orderBy; $this->view->link = $link; diff --git a/module/productplan/view/view.html.php b/module/productplan/view/view.html.php index 770f47894e..d24c55ca27 100644 --- a/module/productplan/view/view.html.php +++ b/module/productplan/view/view.html.php @@ -72,6 +72,7 @@ idAB);?> priAB);?> story->title);?> + story->module);?> openedByAB);?> assignedToAB);?> story->estimateAB);?> @@ -100,6 +101,7 @@ story->priList, $story->pri, $story->pri)?>'>story->priList, $story->pri, $story->pri);?> title);?> + module];?> openedBy);?> assignedTo);?> estimate;?>