* Finish task #47233.

This commit is contained in:
liyuchun
2022-01-12 14:38:06 +08:00
parent c5aaae3eb8
commit b3ff9202a2
+2 -2
View File
@@ -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();
}