The Job Details page used the same date-based logic that was causing resolved tickets to appear for runs on the same day as the resolve date. The linking was already fixed in ticketing_utils.py, but the display query in routes_jobs.py still used the old logic, causing a mismatch: - New runs were correctly NOT linked to resolved tickets - But the UI still SHOWED resolved tickets due to the display query Changes: - Removed date-based OR clause from tickets query (line 201-204) - Removed date-based OR clause from remarks query (line 239-242) - Simplified query parameters (removed min_date and ui_tz) - Now both linking AND display use consistent logic: resolved = hidden Result: Resolved tickets and remarks no longer appear in Job Details or any other view, matching the expected behavior. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| backupchecks | ||