sqlitesearch: escapeftsArgument: Fix wrong escaping of phrase queries
This commit is contained in:
parent
b6ac652ade
commit
3022bbdfb5
@ -82,11 +82,10 @@ QString SqliteSearch::escapeFtsArgument(QString ftsArg)
|
|||||||
{
|
{
|
||||||
value = value.mid(0, value.size() - 1);
|
value = value.mid(0, value.size() - 1);
|
||||||
}
|
}
|
||||||
result += "\"" + value + "\"*";
|
result += "\"" + value + "\"* ";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
value = "\"\"" + value + "\"\"";
|
|
||||||
result += "\"" + value + "\" ";
|
result += "\"" + value + "\" ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user