Thanks, but this code has the same problem.
If I check " checkbox1 " and " checkbox2 ", the code filters all that have " boolean1 " and " boolean2 " on true in the database.
I need a code who shows me all results that have " boolean1 " or " boolean2 " checked in the database.