Hi,
I was looking for a topic that would solve my problem but I didn’t find it.

I am doing a price filter in my project the filter works well when filtering prices below 10 and prices over 50. I don’t know how to do the middle: I need to filter also: price from 10 to 20, from 20 to 30, from 30 to 50.

“checkbox c2 is selected and price is greater than 10 OR checkbox c2 is selected and price is less than 20”

Because of the OR between the two expressions, either of these things can be true, so this expression will be true for any price whatsoever when c2 is checked, because every price is either greater than 10 OR less than 20.

For example, 100 is greater than 10 OR less than 20 because only one of these two tests needs to be true, and >10 is true for 100. Same applies to -100, as <20 is true for -100.

You need to replace this expression and the ones like it with this: