backupchecks/docs
Ivo Oskamp 0d9159ef6f Fix Run Checks popup showing resolved tickets
The Run Checks popup modal was still showing resolved tickets
for runs where they were never actually linked. This was the last
remaining location using date-based ticket logic.

Root cause:
The /api/job-runs/<run_id>/alerts endpoint used the old date-based
logic that showed all tickets scoped to the job if active_from_date
was before the run date. This ignored whether the ticket was actually
linked to that specific run.

Changes:
- Replaced date-based query with explicit ticket_job_runs join
- Replaced date-based query with explicit remark_job_runs join
- Now only returns tickets/remarks actually linked to this run
- Removed unused run_date, job_id, ui_tz query parameters
- Simplified queries: no timezone conversions, no date comparisons

Result: Resolved tickets no longer appear in popup unless they were
linked to that run when they were still open. Completes transition
from date-based to explicit-link ticket system across entire UI.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 11:07:28 +01:00
..
architecture.md Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
autotask_rest_api.md Restore Autotask PSA integration 2026-02-05 14:43:44 +01:00
backupchecks_autotask_integration_functional_design_living_document.md Restore Autotask PSA integration 2026-02-05 14:43:44 +01:00
backupchecks_autotask_integration_implementation_breakdown.md Restore Autotask PSA integration 2026-02-05 14:43:44 +01:00
backupchecks_autotask_integration_phase_2_implementation.md Restore Autotask PSA integration 2026-02-05 14:43:44 +01:00
changelog-claude.md Fix Run Checks popup showing resolved tickets 2026-02-10 11:07:28 +01:00
changelog.md Add v0.1.25 to website changelog 2026-02-09 17:17:47 +01:00
manifest.md Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
migrations.md Auto-commit local changes before build (2026-01-03 13:59:54) 2026-01-03 13:59:54 +01:00
reporting-proposal.md Auto-commit local changes before build (2026-01-03 15:17:01) 2026-01-03 15:17:01 +01:00