Skip to content
This repository
Browse code

[musicdb] fix: 'include artists who appear only on compilations: off'…

… didn't work
  • Loading branch information...
commit cb65532081d1636c20b761769a2f0935be709407 1 parent 593bf80
night199uk authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/music/MusicDatabase.cpp
2  xbmc/music/MusicDatabase.cpp
@@ -5405,7 +5405,7 @@ bool CMusicDatabase::GetFilter(CDbUrl &musicUrl, Filter &filter, SortDescription
5405 5405
       // and always show any artists linked to an album (may be different from above due to album artist tag)
5406 5406
       strSQL +=   "(SELECT album_artist.idArtist FROM album_artist"; // All artists linked to an album
5407 5407
       if (albumArtistsOnly)
5408  
-        strSQL += " WHERE album_artist.boolFeatured = 0";            // then exclude those that have no extra artists
  5408
+        strSQL += " JOIN album ON album.idAlbum = album_artist.idAlbum WHERE album.bCompilation = 0 ";            // then exclude those that have no extra artists
5409 5409
       strSQL +=   ")";
5410 5410
     }
5411 5411
 

0 notes on commit cb65532

Please sign in to comment.
Something went wrong with that request. Please try again.