Tag predicate matching

This commit is contained in:
Mo Bitar
2018-07-04 09:46:21 -05:00
parent 428458e821
commit b33cdea814
5 changed files with 26 additions and 18 deletions

View File

@@ -104,6 +104,11 @@ class ModelManager extends SFModelManager {
}
}
notesMatchingPredicate(predicate) {
let contentTypePredicate = new SFPredicate("content_type", "=", "Note");
return this.itemsMatchingPredicates([contentTypePredicate, predicate]);
}
/*
Misc
*/