CollectionFilterOptions: Match album artist too

This commit is contained in:
Jonas Kvinge 2023-02-18 17:05:41 +01:00
parent 79bf194ed6
commit 5431307527
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ bool CollectionFilterOptions::Matches(const Song &song) const {
}
if (!filter_text_.isNull()) {
return song.artist().contains(filter_text_, Qt::CaseInsensitive) || song.album().contains(filter_text_, Qt::CaseInsensitive) || song.title().contains(filter_text_, Qt::CaseInsensitive);
return song.albumartist().contains(filter_text_, Qt::CaseInsensitive) || song.artist().contains(filter_text_, Qt::CaseInsensitive) || song.album().contains(filter_text_, Qt::CaseInsensitive) || song.title().contains(filter_text_, Qt::CaseInsensitive);
}
return true;