* adjust for edit testreport.

This commit is contained in:
z
2020-07-20 15:10:55 +08:00
parent 0864ced439
commit 55dc4e1d29

View File

@@ -345,7 +345,7 @@ class testreport extends control
$productIdList[$report->product] = $report->product;
$builds = $this->build->getByList($report->builds);
$stories = $this->story->getProjectStories($project->id);
$stories = !empty($builds) ? $this->testreport->getStories4Test($builds) : $this->story->getProjectStories($project->id);;
$bugs = $this->testreport->getBugs4Test($builds, $productIdList, $report->begin, $report->end, 'project');
}