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