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:
geogolem
2017-03-03 01:40:29 -05:00
parent bdc0db3357
commit b773119193

View File

@@ -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"; }
]
},