|
|
@ -399,6 +399,9 @@ class Ticket(StatusMixin, JMSBaseModel):
|
|
|
|
elif isinstance(field, related.ForeignKey):
|
|
|
|
elif isinstance(field, related.ForeignKey):
|
|
|
|
value = self.rel_snapshot[name]
|
|
|
|
value = self.rel_snapshot[name]
|
|
|
|
elif isinstance(field, related.ManyToManyField):
|
|
|
|
elif isinstance(field, related.ManyToManyField):
|
|
|
|
|
|
|
|
if isinstance(self.rel_snapshot[name], str):
|
|
|
|
|
|
|
|
value = self.rel_snapshot[name]
|
|
|
|
|
|
|
|
elif isinstance(self.rel_snapshot[name], list):
|
|
|
|
value = ','.join(self.rel_snapshot[name])
|
|
|
|
value = ','.join(self.rel_snapshot[name])
|
|
|
|
elif isinstance(value, list):
|
|
|
|
elif isinstance(value, list):
|
|
|
|
value = ', '.join(value)
|
|
|
|
value = ', '.join(value)
|
|
|
|