Remove " characters from the library filter text before doing an FTS query. Fixes issue #1504
This commit is contained in:
parent
9a1dad3490
commit
dacc7c1a2d
@ -45,6 +45,7 @@ LibraryQuery::LibraryQuery(const QueryOptions& options)
|
||||
foreach (QString token, tokens) {
|
||||
token.remove('(');
|
||||
token.remove(')');
|
||||
token.remove('"');
|
||||
|
||||
if (token.contains(':'))
|
||||
query += "fts" + token + "* ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user