We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f4aaa0 commit 72a5466Copy full SHA for 72a5466
todo/repositories/task_repository.py
@@ -22,6 +22,8 @@ def _build_status_filter(cls, status_filter: str = None) -> dict:
22
23
"""
24
if status_filter:
25
+ if status_filter == TaskStatus.DONE.value:
26
+ return {} # No status filtering, include all tasks
27
return {"status": status_filter}
28
else:
29
return {"status": {"$ne": TaskStatus.DONE.value}}
0 commit comments