Filter by multiple fields

@jonatandor35 I’m not really sure how else to explain it.

I have a collection for Mental Health Resources.

One field is called “Location.” This field is set to “tags” and I have several tags per item (such as Canada, Ontario, Toronto etc.)

Another field is called “type.” This field is also set to tags and also has several tags per item (such as mental health, depression, anxiety etc.)

On my page, I have a repeater which is connected to the collection. I want to have it so that the user can filter this collection based on both “location” and “type”

I added an input called “selection tags.” I made those selection tags match all of the tags that I used for the “location” field in the collection and connected the selection tags to the repeater through the second block of code I sent you. This worked (meaning when I clicked “Toronto,” the repeater filtered the items to only show resources that had the “Toronto” tag in my collection.

However, I ALSO want to filter for “type.” So I added a SECOND input for “selection tags” to the page and I made those selection tags match the tags that I used for “type” in my collection. The problem I am having is I don’t know how to adjust my code to recognize BOTH selection tags for filtering.