Status page: Show running builds rather than build steps
The active build steps list was redundant, because the "Machine status" page also shows them. So instead show active builds.
This commit is contained in:
@ -99,10 +99,7 @@ sub status_GET {
|
||||
my ($self, $c) = @_;
|
||||
$self->status_ok(
|
||||
$c,
|
||||
entity => [ $c->model('DB::BuildSteps')->search(
|
||||
{ 'me.busy' => 1, 'build.finished' => 0, 'build.busy' => 1 },
|
||||
{ order_by => [ 'machine' ], join => [ 'build' ] }
|
||||
) ]
|
||||
entity => [$c->model('DB::Builds')->search({finished => 0, busy => 1}, { order_by => ["priority DESC", "id"]})]
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user