Go to file
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
containers/backupchecks Fix Run Checks popup showing resolved tickets 2026-02-10 11:07:28 +01:00
deploy Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
docs Fix Run Checks popup showing resolved tickets 2026-02-10 11:07:28 +01:00
.gitignore Add .gitignore to protect confidential .claude directory 2026-02-08 20:46:34 +01:00
.last-branch Auto-commit local changes before build (2026-02-10 09:41:33) 2026-02-10 09:41:33 +01:00
build-and-push.sh Auto-commit local changes before build (2026-01-01 16:40:37) 2026-01-01 16:40:37 +01:00
LICENSE Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
README.md Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
TODO-audit-logging.md Auto-commit local changes before build (2026-02-07 21:41:42) 2026-02-07 21:41:42 +01:00
TODO-documentation.md Update TODO-documentation with per-job review corrections status 2026-02-08 20:08:43 +01:00
TODO-reports-improvements.md Add comprehensive TODO for reports improvements 2026-02-07 23:36:23 +01:00
version.txt Release v0.1.25 on branch v20260209-08-veeam-vbo365-not-started (bump type 1) 2026-02-09 17:21:39 +01:00