* fixVersions added, to filter items in DÖNER

This commit is contained in:
Dávid Danyi
2017-09-13 16:35:21 +02:00
parent dfcd3b086e
commit 0e81a9d60b
4 changed files with 27 additions and 2 deletions

View File

@@ -235,7 +235,7 @@ class KanbanBoard implements \JsonSerializable
private function updatedAtReverseSort(array $toSort): array
{
$toSort = array_filter($toSort, function(KanbanEntry $item){
return $item->getAssignee() != null;
return $item->getAssignee() != null && empty($item->getFixVersions());
});
usort($toSort, function(KanbanEntry $a, KanbanEntry $b){
return $b->getUpdatedAt() <=> $a->getUpdatedAt();