In build view, only show meta of builds for the branch of the selected build.

This commit is contained in:
Guillaume Perréal 2014-12-18 09:48:45 +01:00 committed by Dan Cryer
commit f37c3450e3
2 changed files with 13 additions and 6 deletions

View file

@ -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));