Filtering Database Query with Multiple Checkboxes – Multiple Categories

I followed every step in your tutorial «Filtering Database Query with Multiple Checkboxes» and that works perfectly.

Now my issue is that some records of my database have multiple categories. I separated those category-numbers with commas. So for example if I check the values 2 and 3 the records 1,2 and 4 should show up.

Bildschirmfoto 2021-10-20 um 08.26.46

Only the first record shows up when I’m filtering with the checkboxes valued 2 and 3.

I guess I need to adjust the query options but I haven’t found a way it works.

Thank you very much for your help.

Community Page
Last updated: