mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -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):
|
||||
if val == "none":
|
||||
return 'tags = ""'
|
||||
return 'n.tags = ""'
|
||||
val = val.replace("*", "%")
|
||||
if not val.startswith("%"):
|
||||
val = "% " + val
|
||||
|
|
Loading…
Reference in a new issue