fixed problem with update_record and ignore_common_filters, issue 892, thanks spiffytech

This commit is contained in:
mdipierro
2012-07-15 18:11:47 -05:00
parent c9fda71db5
commit f308343fb0
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
Version 2.00.0 (2012-07-15 18:06:45) dev
Version 2.00.0 (2012-07-15 18:11:44) dev

View File

@@ -8414,7 +8414,7 @@ def update_record(pack, a=None):
(colset, table, id) = pack
b = a or dict(colset)
c = dict([(k,v) for (k,v) in b.items() if k in table.fields and table[k].type!='id'])
table._db(table._id==id).update(**c)
table._db(table._id==id,ignore_common_filters=True).update(**c)
for (k, v) in c.items():
colset[k] = v