mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
filter on type, not queue, for learn/rev, so we catch suspended
This commit is contained in:
parent
b436c46b18
commit
e37f299fd2
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ select distinct(n.id) from cards c, notes n where c.nid=n.id and """+preds
|
||||||
n = 0
|
n = 0
|
||||||
else:
|
else:
|
||||||
return "queue in (1, 3)"
|
return "queue in (1, 3)"
|
||||||
return "queue = %d" % n
|
return "type = %d" % n
|
||||||
elif val == "suspended":
|
elif val == "suspended":
|
||||||
return "c.queue = -1"
|
return "c.queue = -1"
|
||||||
elif val == "due":
|
elif val == "due":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue