1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02: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

View File

@ -227,7 +227,7 @@ export const defaultState = {
episodeCount: function(item) {
const { statistics = {} } = item;
return statistics.episodeCount;
return statistics.totalEpisodeCount || 0;
},
seasonCount: function(item) {