Merge pull request #531 from Radarr/patch/fix-filter-movie-list

Fix the filter modes on the movie list xD
pull/532/head
Devin Buhl 8 years ago committed by GitHub
commit 09fb58c3e9

@ -85,50 +85,6 @@ var Collection = PageableCollection.extend({
] ]
}, },
importFromList : function(models) {
var self = this;
var proxy = _.extend(new Backbone.Model(), {
id : "",
url : self.url + "/import",
toJSON : function() {
return models;
}
});
this.listenTo(proxy, "sync", function(proxyModel, models) {
this.add(models, { merge : true});
this.trigger("save", this);
});
return proxy.save();
},
filterModes : {
'all' : [
null,
null
],
'continuing' : [
'status',
'continuing'
],
'ended' : [
'status',
'ended'
],
'monitored' : [
'monitored',
true
],
'missing' : [
'downloaded',
false
]
},
sortMappings : { sortMappings : {
title : { title : {
sortKey : 'sortTitle' sortKey : 'sortTitle'

Loading…
Cancel
Save