04/09: fixed searching ticket, and deleting/bulk deleting tickets
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user