mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-13 10:21:05 +01:00
uncomment previously commented code which takes care of unassiging a ticket.
This commit is contained in:
parent
eaf78115d2
commit
c79ba8de01
@ -244,11 +244,10 @@ def update_ticket(request, ticket_id, public=False):
|
||||
}
|
||||
ticket.assigned_to = new_user
|
||||
reassigned = True
|
||||
# This makes no sense to me. Why should we ever remove the 'assigned to'
|
||||
# value?
|
||||
#elif owner == 0 and ticket.assigned_to is not None:
|
||||
# f.title = _('Unassigned')
|
||||
# ticket.assigned_to = None
|
||||
# user changed owner to 'unassign'
|
||||
elif owner == 0 and ticket.assigned_to is not None:
|
||||
f.title = _('Unassigned')
|
||||
ticket.assigned_to = None
|
||||
|
||||
if new_status != ticket.status:
|
||||
ticket.status = new_status
|
||||
|
Loading…
Reference in New Issue
Block a user