diff --git a/module/release/model.php b/module/release/model.php index 6683d7ad42..0cbd126a40 100644 --- a/module/release/model.php +++ b/module/release/model.php @@ -51,7 +51,7 @@ class releaseModel extends model */ public function getList($productID, $branch = 0, $type = 'all') { - return $this->dao->select('t1.*, t2.name as productName, t3.id as buildID, t3.name as buildName') + return $this->dao->select('t1.*, t2.name as productName, t3.id as buildID, t3.name as buildName, t3.project') ->from(TABLE_RELEASE)->alias('t1') ->leftJoin(TABLE_PRODUCT)->alias('t2')->on('t1.product = t2.id') ->leftJoin(TABLE_BUILD)->alias('t3')->on('t1.build = t3.id') diff --git a/module/release/view/browse.html.php b/module/release/view/browse.html.php index 7cad7dfd14..106d23b57a 100644 --- a/module/release/view/browse.html.php +++ b/module/release/view/browse.html.php @@ -60,7 +60,7 @@ echo html::a(inlink('view', "release=$release->id"), $release->name) . $flagIcon; ?> -