From 33e6a1714135850ec6f45939c2f31dfac9c111b7 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 25 Oct 2010 15:28:59 +0900 Subject: [PATCH] make sure to set isDue=0 for spaced cards too, for backwards compat --- anki/deck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/deck.py b/anki/deck.py index f3c72f36f..bb16dd2af 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -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