From 73bdad9d70b8649fc0ab82745c81a639b76972a7 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 30 Mar 2012 00:03:39 +0900 Subject: [PATCH] model:foo is ntype:foo in searches now --- anki/find.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/find.py b/anki/find.py index 00a875e1d..210d02a97 100644 --- a/anki/find.py +++ b/anki/find.py @@ -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:"):