From adbba3bbcbd469f1aa878ce76320c43b0580b4f5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 20 Apr 2011 08:57:55 +0000 Subject: [PATCH] * me.id -> build.id. --- src/lib/Hydra/Helper/Nix.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Helper/Nix.pm b/src/lib/Hydra/Helper/Nix.pm index 948dea38..c687c60a 100644 --- a/src/lib/Hydra/Helper/Nix.pm +++ b/src/lib/Hydra/Helper/Nix.pm @@ -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"] });