mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
make sure we include notes table when searching for no tags
This commit is contained in:
parent
880d50ed8a
commit
b2e5fe3c7d
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
def _findTag(self, val, args):
|
||||||
if val == "none":
|
if val == "none":
|
||||||
return 'tags = ""'
|
return 'n.tags = ""'
|
||||||
val = val.replace("*", "%")
|
val = val.replace("*", "%")
|
||||||
if not val.startswith("%"):
|
if not val.startswith("%"):
|
||||||
val = "% " + val
|
val = "% " + val
|
||||||
|
|
Loading…
Reference in a new issue