I have a text field that I use to store a list of User ID values that are delimited by commas.
I want my User Model to use the comma delimited values as a condition for the rows that show up. (i.e. If the User ID is present in the comma delimited text field value then the row will show up).
How do I build a condition to do this? How should my text string be formatted (i.e. Should I add single quotes around each ID value, should I be adding the single quote in a special way to avoid it being escaped)
Question
How do I filter a model list results based on string of IDs?

This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.