Fix 819 (#869)
* Fix projects order persist to localstorage * Fix tags page not showing completed tasks
This commit is contained in:
parent
1167a3a940
commit
96db8c1362
2 changed files with 3 additions and 1 deletions
|
|
@ -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'] };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue