* More database hackery.

This commit is contained in:
Eelco Dolstra 2009-07-09 15:26:55 +00:00
parent fa364fa333
commit b1289533e6

View file

@ -30,7 +30,7 @@ sub getJobStatus {
{}, {},
{ '+select' => ["me.statusChangeId", "me.statusChangeTime"] { '+select' => ["me.statusChangeId", "me.statusChangeTime"]
, '+as' => ["statusChangeId", "statusChangeTime"] , '+as' => ["statusChangeId", "statusChangeTime"]
, order_by => "statusChangeTime DESC" , order_by => "coalesce(statusChangeTime, 0) desc"
}); });
return $latest; return $latest;