From 9dbb0b90d5a654aee31f13d877620fdeb4a3ca8d Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 28 Nov 2011 21:30:47 +0900 Subject: [PATCH] fix updateFieldCache() call --- anki/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/models.py b/anki/models.py index efc7461ec..be63c5329 100644 --- a/anki/models.py +++ b/anki/models.py @@ -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']) self.col.modSchema() m['sortf'] = idx - self.col.updateFieldCache(self.nids(m), csum=False) + self.col.updateFieldCache(self.nids(m)) self.save(m) def addField(self, m, field):