This project is read-only.

Filter content by taxonomy dynamic


I'm working on a recipes site. I need to perform dynamic filtering. The user click on a term and i need to return all recipes with this term. If the user clicks on another term, I need to return all the recipes with those 2 terms. The operator between two terms is "and".

I need something dynamic because every time it's different terms.
I thought the best way is to make a query with filter with querystring and every time I will send the terms.
But it does not exist in orchard.

I thought of another solution, To create a query with filter "has term" with "is all of" ,and in the code change the term dynamicly. But I don't know how to do it.