Search library on composer and genre too

This commit is contained in:
David Sansome 2010-06-12 13:19:55 +00:00
parent d40ab596bd
commit efcd2c968a
1 changed files with 4 additions and 0 deletions

View File

@ -33,11 +33,15 @@ LibraryQuery::LibraryQuery(const QueryOptions& options) {
"artist LIKE ? OR "
"album LIKE ? OR "
"title LIKE ? OR "
"composer LIKE ? OR "
"genre LIKE ? OR "
"albumartist LIKE ?)";
bound_values_ << "%" + options.filter + "%";
bound_values_ << "%" + options.filter + "%";
bound_values_ << "%" + options.filter + "%";
bound_values_ << "%" + options.filter + "%";
bound_values_ << "%" + options.filter + "%";
bound_values_ << "%" + options.filter + "%";
}
if (options.max_age != -1) {