diff --git a/application/Espo/Tools/Kanban/Kanban.php b/application/Espo/Tools/Kanban/Kanban.php index f74ba077e8..03cf62877e 100644 --- a/application/Espo/Tools/Kanban/Kanban.php +++ b/application/Espo/Tools/Kanban/Kanban.php @@ -144,10 +144,6 @@ class Kanban ->withSearchParams($searchParams) ->build(); - $collection = $this->entityManager - ->getCollectionFactory() - ->create($this->entityType); - $statusField = $this->getStatusField(); $statusList = $this->getStatusList(); $statusIgnoreList = $this->getStatusIgnoreList(); @@ -232,8 +228,6 @@ class Kanban $this->listLoadProcessor->process($e, $loadProcessorParams); $recordService->prepareEntityForOutput($e); - - $collection[] = $e; } /** @var Collection $itemRecordCollection */