[gen] Allow for ajax-based master-slave relationships within the search screen for String fields.
This commit is contained in:
parent
6d6c842f12
commit
5bea4e728b
4 changed files with 93 additions and 63 deletions
|
@ -258,7 +258,7 @@ def getStringDict(d):
|
|||
res = []
|
||||
for k, v in d.iteritems():
|
||||
if type(v) not in sequenceTypes:
|
||||
value = "'%s':'%s'" % (k, v)
|
||||
value = "'%s':'%s'" % (k, v.replace("'", "\\'"))
|
||||
else:
|
||||
value = "'%s':%s" % (k, v)
|
||||
res.append(value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue