fix(core): When creating a ticket, by default give it a status of new
ref: #248 #378
This commit is contained in:
@ -301,6 +301,8 @@ class TicketModelSerializer(TicketBaseSerializer):
|
|||||||
|
|
||||||
data['subscribed_users'] = subscribed_users + [ data['opened_by_id'] ]
|
data['subscribed_users'] = subscribed_users + [ data['opened_by_id'] ]
|
||||||
|
|
||||||
|
data['status'] = int(Ticket.TicketStatus.All.NEW)
|
||||||
|
|
||||||
|
|
||||||
self.validate_field_organization()
|
self.validate_field_organization()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user