mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -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":
|
||||
qquery += ("select id from cards where "
|
||||
"priority = -3")
|
||||
elif token == "inactive":
|
||||
qquery += ("select id from cards where "
|
||||
"priority = 0")
|
||||
else: # due
|
||||
qquery += ("select id from cards where "
|
||||
"type in (0,1) and isDue = 1")
|
||||
|
|
Loading…
Reference in a new issue