doubt with addFoundSetFilterParam

Hello, i have a doubt with the addFoundSetFilterParam function. I need to filter with value1 value 2. for exemple:

fs.addFoundSetFilterParam("field_to_find_id","=","1||2")

Is this correct, what is the right way?

For this you can use the “IN” operator:

fs.addFoundSetFilterParam("field_to_find_id", "IN", [1,2]);

Okey, thanks for all! Now i see, in the wiki is explained, so that’s work fine.