mirror of https://github.com/Radarr/Radarr
i believe these are old code that is not needed since pagination..
the recent change to include filterType hits this when model is undefined.. commenting out these lines fixes the problem
This commit is contained in:
parent
bdc0db3357
commit
b773119193
|
@ -146,17 +146,17 @@ var Collection = PageableCollection.extend({
|
|||
'released' : [
|
||||
"status",
|
||||
"released",
|
||||
function(model) { return model.getStatus() == "released"; }
|
||||
//function(model) { return model.getStatus() == "released"; }
|
||||
],
|
||||
'announced' : [
|
||||
"status",
|
||||
"announced",
|
||||
function(model) { return model.getStatus() == "announced"; }
|
||||
//function(model) { return model.getStatus() == "announced"; }
|
||||
],
|
||||
'cinemas' : [
|
||||
"status",
|
||||
"inCinemas",
|
||||
function(model) { return model.getStatus() == "inCinemas"; }
|
||||
//function(model) { return model.getStatus() == "inCinemas"; }
|
||||
]
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue