Lets say I have an viewmodel with an observablearray of products that has an array of categories (Id, Name) on the Product Object. I then also have an observablearray of filters which are just categories. Is there a way that i can find all the products that have all the categories in the filters observable array. So, I need to return all products that have all the categories in the filters array and not just one filter, but the product must contain all the filters. Thanks in advance
Share
I think it should looks like that:
Fiddle with code