make sure to set isDue=0 for spaced cards too, for backwards compat

This commit is contained in:
Damien Elmes 2010-10-25 15:28:59 +09:00
parent b0e4748a1c
commit 33e6a17141

View file

@ -743,7 +743,7 @@ group by type""", fid=card.factId, cid=card.id, now=self.dueCutoff):
update cards set
spaceUntil = :space,
combinedDue = max(:space, due),
modified = :now
modified = :now, isDue = 0
where id != :id and factId = :factId""",
id=card.id, space=space, now=now, factId=card.factId)
card.spaceUntil = 0