Search in albumartist too. Fixes issue #387

This commit is contained in:
David Sansome 2010-06-11 12:01:41 +00:00
parent 6da08410e9
commit 0e83490766
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,9 @@ LibraryQuery::LibraryQuery(const QueryOptions& options) {
where_clauses_ << "("
"artist LIKE ? OR "
"album LIKE ? OR "
"title LIKE ?)";
"title LIKE ? OR "
"albumartist LIKE ?)";
bound_values_ << "%" + options.filter + "%";
bound_values_ << "%" + options.filter + "%";
bound_values_ << "%" + options.filter + "%";
bound_values_ << "%" + options.filter + "%";