mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
model:foo is ntype:foo in searches now
This commit is contained in:
parent
07c3297a9a
commit
73bdad9d70
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ where mid in %s and flds like ? escape '\\'""" % (
|
|||
elif token['value'].startswith("is:"):
|
||||
token['value'] = token['value'][3:].lower()
|
||||
type = SEARCH_TYPE
|
||||
elif token['value'].startswith("model:"):
|
||||
elif token['value'].startswith("ntype:"):
|
||||
token['value'] = token['value'][6:].lower()
|
||||
type = SEARCH_MODEL
|
||||
elif token['value'].startswith("deck:"):
|
||||
|
|
Loading…
Reference in a new issue