From b3ff9202a22e65c2a18f46c3afa812afd3f51f58 Mon Sep 17 00:00:00 2001 From: liyuchun Date: Wed, 12 Jan 2022 14:38:06 +0800 Subject: [PATCH] * Finish task #47233. --- module/repo/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/repo/control.php b/module/repo/control.php index b11b87ba8b..5d7cdff573 100644 --- a/module/repo/control.php +++ b/module/repo/control.php @@ -84,7 +84,7 @@ class repo extends control if($this->viewType !== 'json') $this->commonAction($repoID, $objectID); $repoList = $this->repo->getList(0, '', $orderBy); - //$sonarRepoList = $this->loadModel('sonarqube')->getSonarqubeByRepo(array_keys($repoList)); + $sonarRepoList = $this->loadModel('sonarqube')->getSonarqubeByRepo(array_keys($repoList)); /* Pager. */ $this->app->loadClass('pager', $static = true); @@ -101,7 +101,7 @@ class repo extends control $this->view->pager = $pager; $this->view->repoList = empty($repoList) ? $repoList: $repoList[$pageID - 1];; $this->view->products = $this->loadModel('product')->getPairs(); - //$this->view->sonarRepoList = $sonarRepoList; + $this->view->sonarRepoList = $sonarRepoList; $this->display(); }