* Return all fields in getRelationByObject function.

This commit is contained in:
Guan Xiying
2021-07-01 15:49:19 +08:00
parent c83c6a973c
commit 688890ee84
+1 -1
View File
@@ -209,7 +209,7 @@ class gitlabModel extends model
*/
public function getRelationByObject($objectType, $objectID)
{
return $this->dao->select('id,extra as gitlabID, BVersion as projectID, BID as issueID')->from(TABLE_RELATION)
return $this->dao->select('*, extra as gitlabID, BVersion as projectID, BID as issueID')->from(TABLE_RELATION)
->where('relation')->eq('gitlab')
->andWhere('Atype')->eq($objectType)
->andWhere('AID')->eq($objectID)