+ filterFunc = function(model) { for (index in xos.siteDeployments.models) {
+ site_deployment = xos.siteDeployments.models[index];
+ if (site_deployment.attributes.id == model.attributes.site_deployment) {
+ return (site_deployment.attributes.deployment == deploymentID);
+ }
+ }
+ return false;
+ // return (model.attributes.deployment==deploymentID); }
+ };