mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix due of preview cards being reset
https://anki.tenderapp.com/discussions/ankidesktop/41243-undo-function-causes-error-in-filtered-decks
This commit is contained in:
parent
54734ec88e
commit
a095a8bb07
1 changed files with 1 additions and 1 deletions
|
@ -950,7 +950,7 @@ select id from cards where odid > 0 and did in %s"""
|
|||
self.db.execute(
|
||||
"""
|
||||
update cards set due=1000000+due%1000000,mod=?,usn=? where due>=1000000
|
||||
and type=0""",
|
||||
and type=0 and queue!=4""",
|
||||
intTime(),
|
||||
self.usn(),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue