This commit is contained in:
Ted Unangst 2023-07-30 13:11:50 -04:00
commit 035f23eec0
1 changed files with 2 additions and 1 deletions

View File

@ -342,7 +342,8 @@ func gethonksbysearch(userid int64, q string, wanted int64) []*Honk {
continue continue
} }
t = "%" + t + "%" t = "%" + t + "%"
queries = append(queries, "noise"+negate+"like ?") queries = append(queries, negate+"(noise like ? or precis like ?)")
params = append(params, t)
params = append(params, t) params = append(params, t)
} }