send contact_mode id as str instead of int (#10262)
This commit is contained in:
parent
eb8ce08780
commit
3ec2f1e4ae
|
@ -205,7 +205,7 @@ class EndpointView(View, SingleObjectMixin):
|
|||
formdata['%s_raw' % k] = titles[user.get(f)]
|
||||
elif f == 'contact_mode':
|
||||
d = contact_mode[data.get(f)]
|
||||
formdata['%s_raw' % k] = data.get(f)
|
||||
formdata['%s_raw' % k] = str(data.get(f))
|
||||
elif f == 'IncomeRevenue-Year-2' and data.get(f):
|
||||
metadata = dict([(item['name'], item['value']) for item in data.get(f, {}).get('metadata', [])])
|
||||
if metadata:
|
||||
|
|
Reference in New Issue