mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
fix suspensions
This commit is contained in:
parent
73119c93cf
commit
a68334220a
1 changed files with 1 additions and 1 deletions
|
@ -1199,7 +1199,7 @@ group by cardTags.cardId""" % limit)
|
||||||
self.s.statement("""
|
self.s.statement("""
|
||||||
update cards
|
update cards
|
||||||
set type = (case
|
set type = (case
|
||||||
when successive then -2 when reps then -3 else -1),
|
when successive then -2 when reps then -3 else -1 end),
|
||||||
priority = -3, modified = :t, isDue=0
|
priority = -3, modified = :t, isDue=0
|
||||||
where type >= 0 and id in %s""" % ids2str(ids), t=time.time())
|
where type >= 0 and id in %s""" % ids2str(ids), t=time.time())
|
||||||
self.flushMod()
|
self.flushMod()
|
||||||
|
|
Loading…
Reference in a new issue