No description
Find a file
lorentz 38365e97b5 fix(clients): Show Completed toggle did nothing for tasks older than 7 days
The default task fetch (/api/clients/[id]/tasks) already excludes
completed/cancelled/NA tasks older than a 7-day cutoff server-side. The
"Show Completed" button only filtered the in-memory task list, so if all
completed tasks were older than a week, toggling it revealed nothing —
they were never fetched.

Wire the toggle to re-fetch with archived=true (bypasses the cutoff) when
turning it on, and revert to the default filtered fetch when turning it
back off, so it doesn't leak dead-policy tasks into the non-completed view.
2026-07-17 15:35:45 +00:00
.claude Add: /api/admin/bulk-close-pre-cutoff route with audit logging 2026-05-20 17:27:27 +00:00
dev feat(imageright): finalize two-pass audit engine and task-audit UI polish 2026-07-16 22:52:41 +00:00
ondeck fix(clients): Show Completed toggle did nothing for tasks older than 7 days 2026-07-17 15:35:45 +00:00
tasks Renewal settings, client setup queue, manager setup page, combobox grouping, nav updates 2026-04-10 13:50:04 +00:00
.gitignore chore: gitignore sql backups and remove accidentally committed backup 2026-04-08 18:07:53 +00:00