* me.id -> build.id.

This commit is contained in:
Eelco Dolstra 2011-04-20 08:57:55 +00:00
parent 2f215aac4b
commit adbba3bbcb

View file

@ -167,7 +167,7 @@ sub findLastJobForBuilds {
$thisBuild = $ev->builds->find(
{ job => $job->get_column('job'), finished => 1 },
{ join => 'resultInfo', rows => 1
, order_by => ["me.id"]
, order_by => ["build.id"]
, where => \ attrsToSQL($job->attrs, "build.id")
, '+select' => ["resultInfo.buildstatus"], '+as' => ["buildstatus"]
});