Fixed: Sorting by track count

Signed-off-by: Robin Dadswell <robin@dadswell.email>
pull/770/head
Qstick 4 years ago
parent 6943cc0011
commit 0d8c259237

@ -180,7 +180,7 @@ export const defaultState = {
bookCount: function(item) {
const { statistics = {} } = item;
return statistics.bookCount;
return statistics.bookCount || 0;
},
sizeOnDisk: function(item) {

Loading…
Cancel
Save