In build view, only show meta of builds for the branch of the selected build.
This commit is contained in:
parent
67b2348a7a
commit
f37c3450e3
2 changed files with 13 additions and 6 deletions
|
|
@ -120,7 +120,7 @@ class BuildController extends \PHPCI\Controller
|
|||
$data = null;
|
||||
|
||||
if ($key && $build) {
|
||||
$data = $this->buildStore->getMeta($key, $build->getProjectId(), $buildId, $numBuilds);
|
||||
$data = $this->buildStore->getMeta($key, $build->getProjectId(), $buildId, $build->getBranch(), $numBuilds);
|
||||
}
|
||||
|
||||
die(json_encode($data));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue