* Finish task #5213.

This commit is contained in:
Yagami
2019-01-23 15:27:37 +08:00
parent 068773ddf4
commit 353fa681cd
3 changed files with 12 additions and 25 deletions
+5 -1
View File
@@ -22,13 +22,17 @@ class bug extends control
public function __construct($moduleName = '', $methodName = '')
{
parent::__construct($moduleName, $methodName);
$products = array();
$this->loadModel('product');
$this->loadModel('tree');
$this->loadModel('user');
$this->loadModel('action');
$this->loadModel('story');
$this->loadModel('task');
$this->view->products = $this->products = $this->product->getPairs('nocode');
$productList = $this->loadModel('block')->getProducts('noclosed', '');
foreach($productList as $product) $products[$product->id] = $product->name;
$this->view->products = $this->products = $products;
if($this->config->global->flow == 'onlyTest')
{