diff options
Diffstat (limited to 'src/content/dependencies/listArtistsByCommentaryEntries.js')
-rw-r--r-- | src/content/dependencies/listArtistsByCommentaryEntries.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/content/dependencies/listArtistsByCommentaryEntries.js b/src/content/dependencies/listArtistsByCommentaryEntries.js index 4db9885e..aac3cfd1 100644 --- a/src/content/dependencies/listArtistsByCommentaryEntries.js +++ b/src/content/dependencies/listArtistsByCommentaryEntries.js @@ -10,7 +10,10 @@ export default { }, query({artistData}, spec) { - const artists = sortAlphabetically(artistData.slice()); + const artists = + sortAlphabetically( + artistData.filter(artist => !artist.isAlias)); + const counts = artists.map(artist => artist.tracksAsCommentator.length + |