1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

Fixed: Sorting by episode count

Fixes #3531
This commit is contained in:
Mark McDowall
2020-02-19 18:03:58 -08:00
parent e51f1b5e16
commit 2c0a0175ef
@@ -227,7 +227,7 @@ export const defaultState = {
episodeCount: function(item) {
const { statistics = {} } = item;
return statistics.episodeCount;
return statistics.totalEpisodeCount || 0;
},
seasonCount: function(item) {