From dc7a7b58482a861098e48d18f5635522f2fb7972 Mon Sep 17 00:00:00 2001 From: Romain Date: Fri, 27 Jan 2017 17:40:34 +1100 Subject: [PATCH] Must pass options when finalising album hierarchy. Fixes album sorting. --- src/model/hierarchy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/hierarchy.js b/src/model/hierarchy.js index 406b83b..15f8379 100644 --- a/src/model/hierarchy.js +++ b/src/model/hierarchy.js @@ -22,6 +22,6 @@ exports.createAlbums = function(collection, opts) { } // finalize all albums recursively (calculate stats, etc...) - home.finalize(); + home.finalize(opts); return home; };