« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/listing-spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listing-spec.js b/src/listing-spec.js
index 1c1dbd5e..497f9845 100644
--- a/src/listing-spec.js
+++ b/src/listing-spec.js
@@ -81,7 +81,7 @@ const listingSpec = [
         stringsKey: 'listAlbums.byDateAdded',
 
         data({wikiData}) {
-            return chunkByProperties(wikiData.albumData.slice().sort((a, b) => {
+            return chunkByProperties(wikiData.albumData.filter(a => a.dateAddedToWiki).sort((a, b) => {
                 if (a.dateAddedToWiki < b.dateAddedToWiki) return -1;
                 if (a.dateAddedToWiki > b.dateAddedToWiki) return 1;
             }), ['dateAddedToWiki']);