Merge pull request 'Auto-commit local changes before build (2026-01-06 12:19:54)' (#43) from v20260106-09-fix-ticket-detail-indent into main

Reviewed-on: #43
This commit is contained in:
Ivo Oskamp 2026-01-13 11:08:39 +01:00
commit 9d2ef99cf9
4 changed files with 8 additions and 2 deletions

View File

@ -1 +1 @@
v20260106-08-ticket-code-input-disable-edit
v20260106-09-fix-ticket-detail-indent

View File

@ -277,7 +277,6 @@ def ticket_detail(ticket_id: int):
ticket = Ticket.query.get_or_404(ticket_id)
# Ticket editing is disabled. Resolve the old ticket and create a new one instead.
return redirect(url_for("main.ticket_detail", ticket_id=ticket.id))
# Scopes
scopes = TicketScope.query.filter(TicketScope.ticket_id == ticket.id).order_by(TicketScope.id.asc()).all()

View File

@ -65,6 +65,13 @@
- Disabled editing of tickets and remarks (UI forms made read-only and update endpoints now return an error instructing to resolve and recreate).
- Updated Ticket and Remark detail pages to remove save/edit actions while keeping resolve functionality.
---
## v20260106-09-fix-ticket-detail-indent
- Fixed an IndentationError in routes_tickets.py that prevented the backend from booting (ticket_detail route).
- Removed an accidentally indented redirect line after disabling ticket editing, restoring valid module syntax.
================================================================================================================================================
## v0.1.16