mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
need to update odue when failing rev card in filtered deck
This commit is contained in:
parent
1db6a0bd3a
commit
59cb45eda6
1 changed files with 1 additions and 1 deletions
|
@ -753,7 +753,7 @@ did = ? and queue = 2 and due <= ? limit ?""",
|
|||
card.lapses += 1
|
||||
card.ivl = self._nextLapseIvl(card, conf)
|
||||
card.factor = max(1300, card.factor-200)
|
||||
card.due = self.today + card.ivl
|
||||
card.odue = card.due = self.today + card.ivl
|
||||
# if suspended as a leech, nothing to do
|
||||
delay = 0
|
||||
if self._checkLeech(card, conf) and card.queue == -1:
|
||||
|
|
Loading…
Reference in a new issue