mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 04:51:45 +02:00
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:
@@ -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"; }
|
||||
]
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user