diff --git a/backend/modules/tasks/queries/query-builders.js b/backend/modules/tasks/queries/query-builders.js index 059a985..1191751 100644 --- a/backend/modules/tasks/queries/query-builders.js +++ b/backend/modules/tasks/queries/query-builders.js @@ -299,6 +299,8 @@ async function filterTasksByParams( 'archived', ], }; + } else if (params.status === 'all') { + // No status filter — return tasks of all statuses } else if (!params.client_side_filtering) { whereClause.status = { [Op.notIn]: [Task.STATUS.DONE, 'done'] }; } diff --git a/frontend/components/Tag/TagDetails.tsx b/frontend/components/Tag/TagDetails.tsx index c457b88..3478caa 100644 --- a/frontend/components/Tag/TagDetails.tsx +++ b/frontend/components/Tag/TagDetails.tsx @@ -220,7 +220,7 @@ const TagDetails: React.FC = () => { const [tasksResponse, notesResponse] = await Promise.all([ fetch( getApiPath( - `tasks?tag=${encodeURIComponent(tagData.name)}` + `tasks?tag=${encodeURIComponent(tagData.name)}&status=all` ) ), fetch(