mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 01:13:31 +01:00
Use update_ticket method when placing ticket on hold
This commit is contained in:
parent
8f71bdac7a
commit
ffb7522e79
@ -1214,11 +1214,10 @@ def hold_ticket(request, ticket_id, unhold=False):
|
||||
ticket.on_hold = True
|
||||
title = _('Ticket placed on hold')
|
||||
|
||||
f = FollowUp(
|
||||
ticket=ticket,
|
||||
f = update_ticket(
|
||||
user=request.user,
|
||||
ticket=ticket,
|
||||
title=title,
|
||||
date=timezone.now(),
|
||||
public=True,
|
||||
)
|
||||
f.save()
|
||||
|
Loading…
Reference in New Issue
Block a user