I'm trying to filter my view based on data in a single field. My field targetuser contains a string of numbers: 47,505,100,20.
I'm trying to setup the view so that if targetuser contains the logged in user ID (in this case, that's 47), the content should be visible.
However, the setup I have now only works if a single number is inside that field, not four numbers.
How can I accomplish this?
Note, I've installed the Views Argument Substitution module. The settings for the second contextual filter I'm referencing are the following.
content:targetuser:provide default value: logged in user id
Update: For those wondering, the existing Contextual Filters so far do the following:
Show node if:
- Content: Author uid (logged in user is also the author of the node)
- Content:targetuser (if target user is equal to logged in uid)OR IF
- Content:targetuser (if target user field is equal to 9506)