aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Roberts <croberts@bongle.co.uk>2013-04-17 00:45:44 +0800
committerChris Roberts <croberts@bongle.co.uk>2013-04-29 21:13:06 +0800
commitcb65532081d1636c20b761769a2f0935be709407 (patch)
tree1cc317ce50577658457ac7111ef309586ee33801
parent593bf80bf2a41d761b5ea542c510b31ced50a278 (diff)
[musicdb] fix: 'include artists who appear only on compilations: off' didn't work
-rw-r--r--xbmc/music/MusicDatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/music/MusicDatabase.cpp b/xbmc/music/MusicDatabase.cpp
index f795cd3538..c74e09afc4 100644
--- a/xbmc/music/MusicDatabase.cpp
+++ b/xbmc/music/MusicDatabase.cpp
@@ -5405,7 +5405,7 @@ bool CMusicDatabase::GetFilter(CDbUrl &musicUrl, Filter &filter, SortDescription
// and always show any artists linked to an album (may be different from above due to album artist tag)
strSQL += "(SELECT album_artist.idArtist FROM album_artist"; // All artists linked to an album
if (albumArtistsOnly)
- strSQL += " WHERE album_artist.boolFeatured = 0"; // then exclude those that have no extra artists
+ strSQL += " JOIN album ON album.idAlbum = album_artist.idAlbum WHERE album.bCompilation = 0 "; // then exclude those that have no extra artists
strSQL += ")";
}