mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
make sure suspended/buried cards are reset on export too
This commit is contained in:
parent
6d69c5e292
commit
433f2b06f9
1 changed files with 1 additions and 1 deletions
|
@ -1366,7 +1366,7 @@ usn=:usn, mod=:mod, factor=:fact where id=:id and odid=0 and queue >=0""",
|
||||||
% sids)
|
% sids)
|
||||||
# reset all cards
|
# reset all cards
|
||||||
self.col.db.execute(
|
self.col.db.execute(
|
||||||
"update cards set reps=0,lapses=0,odid=0,odue=0"
|
"update cards set reps=0,lapses=0,odid=0,odue=0,queue=0"
|
||||||
" where id in %s" % sids
|
" where id in %s" % sids
|
||||||
)
|
)
|
||||||
# and forget any non-new cards, changing their due numbers
|
# and forget any non-new cards, changing their due numbers
|
||||||
|
|
Loading…
Reference in a new issue