* Fix projects order persist to localstorage

* Fix tags page not showing completed tasks
This commit is contained in:
Chris 2026-02-27 01:07:08 +02:00 committed by GitHub
parent 1167a3a940
commit 96db8c1362
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -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'] };
}

View file

@ -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(