mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
support * wildcard in normal text search too
This commit is contained in:
parent
5be89d13d7
commit
013f3d00a8
1 changed files with 1 additions and 0 deletions
|
@ -1723,6 +1723,7 @@ cardTags.tagId in %s""" % ids2str(ids)
|
|||
fquery += " intersect "
|
||||
elif isNeg:
|
||||
fquery += "select id from facts except "
|
||||
token = token.replace("*", "%")
|
||||
args["_ff_%d" % c] = "%"+token+"%"
|
||||
q = "select factId from fields where value like :_ff_%d" % c
|
||||
fquery += q
|
||||
|
|
Loading…
Reference in a new issue