mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-11 01:14:24 +01:00
Fix library search queries on fts columns (#6219)
This fixes a regression introduced in 8818ba340a
.
This commit is contained in:
parent
289ea31f8c
commit
587e72b8c3
@ -80,7 +80,7 @@ LibraryQuery::LibraryQuery(const QueryOptions& options)
|
||||
if (Song::kFtsColumns.contains(
|
||||
"fts" + columntoken,
|
||||
Qt::CaseInsensitive)) { // Is it a FTS column?
|
||||
query += "fts" + columntoken + subtoken + "* ";
|
||||
query += "fts" + columntoken + ":" + subtoken + "* ";
|
||||
} else if (Song::kColumns.contains(columntoken, Qt::CaseInsensitive)) {
|
||||
// We need to extract the operator and the value from the subtoken
|
||||
QRegExp operatorRe("^(" + kNumericCompOperators.join("|") + ")(.*)");
|
||||
|
Loading…
Reference in New Issue
Block a user