mirror of https://github.com/Radarr/Radarr
Add Missing Filter (#237)
This commit is contained in:
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…
Reference in New Issue