forked from lix-project/hydra
* me.id -> build.id.
This commit is contained in:
parent
2f215aac4b
commit
adbba3bbcb
|
@ -167,7 +167,7 @@ sub findLastJobForBuilds {
|
||||||
$thisBuild = $ev->builds->find(
|
$thisBuild = $ev->builds->find(
|
||||||
{ job => $job->get_column('job'), finished => 1 },
|
{ job => $job->get_column('job'), finished => 1 },
|
||||||
{ join => 'resultInfo', rows => 1
|
{ join => 'resultInfo', rows => 1
|
||||||
, order_by => ["me.id"]
|
, order_by => ["build.id"]
|
||||||
, where => \ attrsToSQL($job->attrs, "build.id")
|
, where => \ attrsToSQL($job->attrs, "build.id")
|
||||||
, '+select' => ["resultInfo.buildstatus"], '+as' => ["buildstatus"]
|
, '+select' => ["resultInfo.buildstatus"], '+as' => ["buildstatus"]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue