mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
use new field cache so we can ignore html in std search
This commit is contained in:
parent
731c4100f9
commit
46ba2db87a
1 changed files with 1 additions and 1 deletions
|
@ -2635,7 +2635,7 @@ select id from cards where answer like :_ff_%d escape '\\'""" % c
|
||||||
token = token.replace("*", "%")
|
token = token.replace("*", "%")
|
||||||
args["_ff_%d" % c] = "%"+token+"%"
|
args["_ff_%d" % c] = "%"+token+"%"
|
||||||
fquery += """
|
fquery += """
|
||||||
select factId from fields where value like :_ff_%d escape '\\'""" % c
|
select id from facts where spaceUntil like :_ff_%d escape '\\'""" % c
|
||||||
return (tquery, fquery, qquery, fidquery, cmquery, sfquery,
|
return (tquery, fquery, qquery, fidquery, cmquery, sfquery,
|
||||||
qaquery, showdistinct, filters, args)
|
qaquery, showdistinct, filters, args)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue