I’m trying to use a tagify element to find all entries in the database where a field contains any of the tagify input tags, but can’t figure out how to do it.
The query is Field_name in {{$_GET.tags}}
The get parameter is populated by the tagify element. But it will only work with one tag, when a second tag is added it no longer returns any result.
What I’m hoping to achieve is to find “all users where the user’s field contains any of the tagify tags”
e.g.
Field is “favourite_colour” and User A has “red”, and User B has “blue”.
Another user searches for users with favourite colours of either red
or blue
in the favourite field.
I want it to return both users.
Perhaps someone has already used tagify in this manner and can point me in the right direction?