Add Missing Filter (#237)

pull/243/head
William Comartin 8 years ago committed by Leonardo Galli
parent 3a6873cc4d
commit f7471940c4

@ -175,6 +175,13 @@ module.exports = Marionette.Layout.extend({
tooltip : 'Monitored Only',
icon : 'icon-sonarr-monitored',
callback : this._setFilter
},
{
key : 'missing',
title : '',
tooltip : 'Missing Only',
icon : 'icon-sonarr-missing',
callback : this._setFilter
}
]
};

@ -65,9 +65,8 @@ var Collection = PageableCollection.extend({
true
],
'missing' : [
null,
null,
function(model) { return model.get('episodeCount') !== model.get('episodeFileCount'); }
'downloaded',
false
]
},

Loading…
Cancel
Save