Add in missing needed join

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-10-25 14:06:52 -04:00
parent 8e82ba0093
commit b51b8cddf4

View file

@ -97,7 +97,7 @@ sub status_GET {
$c,
entity => [ $c->model('DB::BuildSteps')->search(
{ 'me.busy' => 1, 'build.finished' => 0, 'build.busy' => 1 },
{ order_by => [ 'machine' ] }
{ order_by => [ 'machine' ], join => [ 'build' ] }
) ]
);
}