Filter - odd behavior with "and" and "or"
Posted: Fri Apr 10, 2020 5:45 pm
EDIT: Okay, the behavior is slightly different than I thought; see the bottom of this post for my observations.
I'm finding a strange situation with one of my filters.
I've built one to purge out events that are older the 3 days, and have a total score less than or equal to 19. If I set the filter to use "and" on both of those, it acts like an "or"; in other words, it deletes events that are older than 3 days OR with a total score less than or equal to 19.
If I set the filter to "or", it acts like an "and" and works how I'd like it to (i.e. deletes events older than 3 days that also have a score less than or equal to 19).
Interestingly, it only seems to be affecting this one filter; the standard Purge filter seems to work properly.
Any ideas? Perhaps I built this incorrectly?
UPDATE: Okay, so setting it to OR doesn't do what I want; it only gives me items that are the right age, but includes items with a higher total score. But setting it to "and" gives me items of the right score, but are newer than I want. I definitely think I've messed this filter up somehow, I just don't know how.
I'm finding a strange situation with one of my filters.
I've built one to purge out events that are older the 3 days, and have a total score less than or equal to 19. If I set the filter to use "and" on both of those, it acts like an "or"; in other words, it deletes events that are older than 3 days OR with a total score less than or equal to 19.
If I set the filter to "or", it acts like an "and" and works how I'd like it to (i.e. deletes events older than 3 days that also have a score less than or equal to 19).
Interestingly, it only seems to be affecting this one filter; the standard Purge filter seems to work properly.
Any ideas? Perhaps I built this incorrectly?
UPDATE: Okay, so setting it to OR doesn't do what I want; it only gives me items that are the right age, but includes items with a higher total score. But setting it to "and" gives me items of the right score, but are newer than I want. I definitely think I've messed this filter up somehow, I just don't know how.