* Fix search toggle of execution-bug.

This commit is contained in:
zhouxin
2023-10-25 14:36:05 +08:00
parent bf3743b4ab
commit 43e8bc7783
+1 -1
View File
@@ -258,7 +258,7 @@ class bugTao extends bugModel
/* 如果搜索项目下的 bug 列表,在 bug 的查询中加上产品的限制。*/
/* If search bug under project, append product condition in bug query. */
if($object == 'project') return $this->appendProductConditionForProject($bugQuery, $productIdList, $branch);
if($object == 'project' || $object == 'execution') return $this->appendProductConditionForProject($bugQuery, $productIdList, $branch);
return $this->appendProductConditionForBug($bugQuery, (array)$productIdList, (string)$branch);
}