* Finish task#8313.

This commit is contained in:
leiyong
2020-11-13 14:02:11 +08:00
parent bb489bfc39
commit 3cb8149563
4 changed files with 4 additions and 18 deletions

View File

@@ -19,7 +19,7 @@ class qa extends control
*/
public function index($locate = 'auto', $productID = 0)
{
$this->products = $this->loadModel('product')->getPairs('nocode');
$this->products = $this->loadModel('product')->getProductsByProject($this->session->PRJ);
if(empty($this->products)) die($this->locate($this->createLink('product', 'showErrorNone', "fromModule=qa")));
if($locate == 'yes') $this->locate($this->createLink('bug', 'browse'));