diff options
Diffstat (limited to 'src/listing-spec.js')
-rw-r--r-- | src/listing-spec.js | 6 |
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}) { |