2009-05-27, 03:49
This is a problem, I agree, but it's non-trivial to display this sort of thing in the user interface, given that one has to allow nested ands within ors or ors within ands and so on. For example,
{rule1} OR {rule2} OR {rule3} AND {rule4}
might be interpreted by some as "at least one of rule 1, 2, or 3 is holds, and rule 4 also must hold" whereas in reality it's "at least one of rule 1, rule 2, or the combination of rule 3 and rule4 must hold".
That's why I chose to go the easy way out: You only get ors or ands in a single filter, but you can combine filters.
Now, one way to improve on this is allowing more scope in a single rule. For instance, we could combat your situation quite well, as the or's are all on the one field, so the 3 rules you have could be combined into a single rule via some sort of multiple select on the genres. Then you combine that rule (via AND) with your watched rule and you're done.
You can't handle all cases in this way though - ideas most welcome
Cheers,
Jonathan
{rule1} OR {rule2} OR {rule3} AND {rule4}
might be interpreted by some as "at least one of rule 1, 2, or 3 is holds, and rule 4 also must hold" whereas in reality it's "at least one of rule 1, rule 2, or the combination of rule 3 and rule4 must hold".
That's why I chose to go the easy way out: You only get ors or ands in a single filter, but you can combine filters.
Now, one way to improve on this is allowing more scope in a single rule. For instance, we could combat your situation quite well, as the or's are all on the one field, so the 3 rules you have could be combined into a single rule via some sort of multiple select on the genres. Then you combine that rule (via AND) with your watched rule and you're done.
You can't handle all cases in this way though - ideas most welcome
Cheers,
Jonathan