mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
fix updateFieldCache() call
This commit is contained in:
parent
be3258b0a8
commit
9dbb0b90d5
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ select id from cards where nid in (select id from notes where mid = ?)""",
|
||||||
assert idx >= 0 and idx < len(m['flds'])
|
assert idx >= 0 and idx < len(m['flds'])
|
||||||
self.col.modSchema()
|
self.col.modSchema()
|
||||||
m['sortf'] = idx
|
m['sortf'] = idx
|
||||||
self.col.updateFieldCache(self.nids(m), csum=False)
|
self.col.updateFieldCache(self.nids(m))
|
||||||
self.save(m)
|
self.save(m)
|
||||||
|
|
||||||
def addField(self, m, field):
|
def addField(self, m, field):
|
||||||
|
|
Loading…
Reference in a new issue