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