04/09: fixed searching ticket, and deleting/bulk deleting tickets

This commit is contained in:
2026-04-09 13:10:56 -04:00
parent cc81e0cca3
commit 05ecf5a624
3 changed files with 213 additions and 5 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ def ticket_list():
from app.models import Comment
from sqlalchemy import func
assignee_alias = db.aliased(User)
stripped_body = func.regexp_replace(Comment.body, r'<[^>]+>', '', 'g')
stripped_body = func.regexp_replace(Comment.body, r'<[^>]+>', '')
query = (
query
.outerjoin(Comment, Comment.ticket_id == Ticket.id)