Skip to content

Commit ca930dd

Browse files
luka-nextcloudbackportbot[bot]
authored andcommitted
fix: showing no due cards
Signed-off-by: Luka Trovic <luka@nextcloud.com>
1 parent 9d6b8ac commit ca930dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Service/OverviewService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ public function findUpcomingCards(string $userId): array {
5959
}, $userBoards));
6060

6161
$foundCards = array_merge(
62-
// private board: get cards with due date
63-
$this->cardMapper->findAllWithDue($boardOwnerIds),
62+
// private board: get all my assigned or unassigned cards
63+
$this->cardMapper->findToMeOrNotAssignedCards($boardOwnerIds, $userId),
6464
// shared board: get all my assigned or unassigned cards
6565
$this->cardMapper->findToMeOrNotAssignedCards($boardSharedIds, $userId)
6666
);

0 commit comments

Comments
 (0)