mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07: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:
parent
bdc0db3357
commit
b773119193
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue