mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
make sure to set isDue=0 for spaced cards too, for backwards compat
This commit is contained in:
parent
b0e4748a1c
commit
33e6a17141
1 changed files with 1 additions and 1 deletions
|
@ -743,7 +743,7 @@ group by type""", fid=card.factId, cid=card.id, now=self.dueCutoff):
|
||||||
update cards set
|
update cards set
|
||||||
spaceUntil = :space,
|
spaceUntil = :space,
|
||||||
combinedDue = max(:space, due),
|
combinedDue = max(:space, due),
|
||||||
modified = :now
|
modified = :now, isDue = 0
|
||||||
where id != :id and factId = :factId""",
|
where id != :id and factId = :factId""",
|
||||||
id=card.id, space=space, now=now, factId=card.factId)
|
id=card.id, space=space, now=now, factId=card.factId)
|
||||||
card.spaceUntil = 0
|
card.spaceUntil = 0
|
||||||
|
|
Loading…
Reference in a new issue