1
0

sqlitesearch: escapeftsArgument: Fix wrong escaping of phrase queries

Dieser Commit ist enthalten in:
Albert S. 2022-10-02 19:55:10 +02:00
Ursprung b6ac652ade
Commit 3022bbdfb5

Datei anzeigen

@ -82,11 +82,10 @@ QString SqliteSearch::escapeFtsArgument(QString ftsArg)
{
value = value.mid(0, value.size() - 1);
}
result += "\"" + value + "\"*";
result += "\"" + value + "\"* ";
}
else
{
value = "\"\"" + value + "\"\"";
result += "\"" + value + "\" ";
}
}