diff --git a/lib/Service/StackService.php b/lib/Service/StackService.php index 79f659eba..0e4bbaa03 100644 --- a/lib/Service/StackService.php +++ b/lib/Service/StackService.php @@ -181,6 +181,7 @@ public function findAllArchived($boardId) { if (array_key_exists($card->id, $labels)) { $cards[$cardIndex]->setLabels($labels[$card->id]); } + $cards[$cardIndex]->setAttachmentCount($this->attachmentService->count($card->getId())); } $stacks[$stackIndex]->setCards($cards); }