backupchecks/docs
Ivo Oskamp a919610d68 HOTFIX: Fix duplicate tickets in Run Checks popup
Critical bug: Same ticket appeared multiple times in popup
(e.g., T20260127.0061 showed 8 times).

Root Cause:
The JOIN with ticket_scopes/remark_scopes created duplicate rows
when a ticket had multiple scopes (Cartesian product).

Changes:
- Removed unnecessary JOIN ticket_scopes from tickets query
- Removed unnecessary JOIN remark_scopes from remarks query
- Added DISTINCT to prevent any duplicate rows
- Changed COALESCE(ts.resolved_at, t.resolved_at) to t.resolved_at
  (ticket_scopes JOIN removed, only ticket resolution matters)

Result: Each ticket/remark now appears exactly once in popup.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 11:47: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 HOTFIX: Fix duplicate tickets in Run Checks popup 2026-02-10 11:47:28 +01:00
changelog.md Update v0.1.26 changelogs with UI text fix 2026-02-10 11:34:24 +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