What I'm wanting to do is combine two or queries with an and query
WHERE (id contains[cd] %@ OR name contains[cd] %@) AND manu = %@"
So far I have it working with one of the ors and the and, but I can't figure out how to do both
let predicate1 = NSPredicate(format: "id contains[cd] %@", searchedText)
let predicate2 = NSPredicate(format: "threadManu = %@", manu)
predicate = NSCompoundPredicate.init(type: .and, subpredicates: [predicate1,predicate2])