« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/listing-spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/listing-spec.js')
-rw-r--r--src/listing-spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/listing-spec.js b/src/listing-spec.js
index 97c1ef4a..334ea7f4 100644
--- a/src/listing-spec.js
+++ b/src/listing-spec.js
@@ -88,9 +88,9 @@ const listingSpec = [
 
         data({wikiData}) {
             return chunkByProperties(wikiData.albumData.slice().sort((a, b) => {
-                if (a.dateAdded < b.dateAdded) return -1;
-                if (a.dateAdded > b.dateAdded) return 1;
-            }), ['dateAdded']);
+                if (a.dateAddedToWiki < b.dateAddedToWiki) return -1;
+                if (a.dateAddedToWiki > b.dateAddedToWiki) return 1;
+            }), ['dateAddedToWiki']);
         },
 
         html(chunks, {link, strings}) {