fix task sorting
This commit is contained in:
parent
d97173569b
commit
ec8ab39e7c
|
@ -112,7 +112,7 @@ class TaskManager
|
||||||
$this->tasks[$task->getUuid()] = $task;
|
$this->tasks[$task->getUuid()] = $task;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $result;
|
return $this->sort($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -121,9 +121,7 @@ class TaskManager
|
||||||
*/
|
*/
|
||||||
public function filter($filter = null)
|
public function filter($filter = null)
|
||||||
{
|
{
|
||||||
$tasks = $this->filterAll($filter . ' status:pending');
|
return $this->filterAll($filter . ' status:pending');
|
||||||
|
|
||||||
return $this->sort($tasks);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue