Skip to content

Commit

Permalink
#1556 mark card as done: hide done cards in upcoming-cards view
Browse files Browse the repository at this point in the history
  • Loading branch information
desperateCoder committed Jan 16, 2024
1 parent b5dd1df commit 65cde2b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public interface CardDao extends GenericDao<Card> {
"and (c.deletedAt is null or c.deletedAt = 0) " +
"and (s.deletedAt is null or s.deletedAt = 0) " +
"and (b.deletedAt is null or b.deletedAt = 0) " +
"and c.done is null " +
// Full Logic: (hasDueDate AND isIn_PRIVATE_Board) OR (isInSharedBoard AND (assignedToMe OR (hasDueDate AND noAssignees)))
"and (" +
"(c.dueDate is not null AND NOT exists(select 1 from AccessControl ac where ac.boardId = b.localId and ac.status <> 3))" + //(hasDueDate AND isInPrivateBoard)
Expand Down

0 comments on commit 65cde2b

Please sign in to comment.