* fix a bug for search bug in link bug.
This commit is contained in:
@@ -343,7 +343,7 @@ class build extends control
|
||||
|
||||
if($browseType == 'bySearch')
|
||||
{
|
||||
$allBugs = $this->bug->getBySearch($build->product, array($build->project), $queryID, 'id_desc');
|
||||
$allBugs = $this->bug->getBySearch($build->product, array($build->project => $build->project), $queryID, 'id_desc');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -413,7 +413,7 @@ class release extends control
|
||||
|
||||
if($browseType == 'bySearch')
|
||||
{
|
||||
$allBugs = $this->bug->getBySearch($release->product, $build->project ? array($build->project) : array(), $queryID, 'id_desc');
|
||||
$allBugs = $this->bug->getBySearch($release->product, $build->project ? array($build->project => $build->project) : array(), $queryID, 'id_desc');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user