From b2e5fe3c7d55a901deb32b2ebeba6eec79962914 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 1 Oct 2012 20:45:49 +0900 Subject: [PATCH] make sure we include notes table when searching for no tags --- anki/find.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/find.py b/anki/find.py index dc8f42e95..303e9da7b 100644 --- a/anki/find.py +++ b/anki/find.py @@ -241,7 +241,7 @@ select distinct(n.id) from cards c, notes n where c.nid=n.id and """+preds def _findTag(self, val, args): if val == "none": - return 'tags = ""' + return 'n.tags = ""' val = val.replace("*", "%") if not val.startswith("%"): val = "% " + val