bugfix
This commit is contained in:
parent
f57f786b63
commit
5b8733cc9c
@ -450,7 +450,8 @@ async with db.sqlorContext(dbname) as sor:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
other_keys = [ k for k in ns.keys() if k != 'id' ]
|
tblfields = {{json.dumps([ f.name for f in fields ])}}
|
||||||
|
other_keys = [ k for k in ns.keys() if k in tblfields and k != 'id' ]
|
||||||
if len(other_keys) > 0:
|
if len(other_keys) > 0:
|
||||||
r = await sor.U('{{summary[0].name}}', ns)
|
r = await sor.U('{{summary[0].name}}', ns)
|
||||||
debug('update success');
|
debug('update success');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user