mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
add search for inactive
This commit is contained in:
parent
5bca5bc0da
commit
285bf5a9a0
1 changed files with 3 additions and 0 deletions
|
@ -1871,6 +1871,9 @@ cardTags.tagId in %s""" % ids2str(ids)
|
||||||
elif token == "suspended":
|
elif token == "suspended":
|
||||||
qquery += ("select id from cards where "
|
qquery += ("select id from cards where "
|
||||||
"priority = -3")
|
"priority = -3")
|
||||||
|
elif token == "inactive":
|
||||||
|
qquery += ("select id from cards where "
|
||||||
|
"priority = 0")
|
||||||
else: # due
|
else: # due
|
||||||
qquery += ("select id from cards where "
|
qquery += ("select id from cards where "
|
||||||
"type in (0,1) and isDue = 1")
|
"type in (0,1) and isDue = 1")
|
||||||
|
|
Loading…
Reference in a new issue