forked from lix-project/hydra
* More database hackery.
This commit is contained in:
parent
fa364fa333
commit
b1289533e6
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue