Stéph, brilliant explanation. André,I believe that the counter-intuitive part of this is just about the grouping and order of operations used to combine multiple criteria. You seem to have a good command of the filters and parameters involved in the construction of individual parameters. I'd like to suggest that after you use this system for a couple of days, it becomes intuitive. If you have ever learned any formal postfix notation such as reverse polish notation I think you will find that this is not that difficult. I think that the one really egregious item is the way that when any rule becomes a parent for subrules, the parent rule's operators and operands if any become hidden. Learn that one thing and then the rest of it is just a slightly idiosyncratic version of postfix.
-Dwight ps "name-check" means that you mentioned Stéph's name in your original post, helping to draw attention to his excellent explanations of MLO. -d On Thursday, March 7, 2019 at 12:50:42 PM UTC-5, André Bonhôte wrote: > > Hi Stéph > > "Name-check" needs some explanation ;-) > > Thanks a ton for your explanation. It works, but it's far from intuitive. > I think you agree that some improvements here would be awesome - like I > said: some kind of query language, or at least the possibility to move > things around. > > Anyway, it works for the time being. I hope I don't have to change this > filter set one day ;-) > > Cheers > > André > > > > Am Donnerstag, 7. März 2019 18:00:43 UTC+1 schrieb Stéph: >> >> Hello André. >> It's me - thanks for the name-check! >> >> You've spotted the oddity with adding a set of subrules. When you click >> "Add subrule", it effectively changes your current rule into the >> open-bracket to group your subrules, wiping out any parameters you'd >> started entering into that rule. The thing to do is always click "Add >> rule" just before you click "Add sub-rule". >> >> So, if you want to add your rules in the order you first wrote them in >> your post, start by clicking "Add rule" (which is going to be your opening >> bracket), then click "Add sub-rule" (to start entering the first of the >> three rules inside your brackets). >> >> When you've entered the three sub-rules (by clicking "Add-rule" each time >> for the second and third sub-rules, you'll want to add your final top-level >> rule (the one outside the brackets). If you just click "Add rule" where you >> are, it will add it as a fourth sub-rule, within the brackets. To get back >> to the top level in the tree (same as if you're adding tasks and sub-tasks >> in the MLO outline), you need to click on the AND at the top of the list >> (the open bracket, which is the only item at the top level in the >> hierarchy) and select "Add rule". >> >> That's a bit hard to read, so I'll try and explain it more graphically: >> >> >> 1) AND [add this grouping for the next three subrules by clicking >> "Add rule", but don't bother putting any criteria into the rule. We just >> want the "AND"] >> 1.1) dueDate <= today OR [Line 1.1 appears when you're on line 1 and >> click "Add subrule"] >> 1.2) startDate <= today OR [Line 1.2 is created by clicking "Add rule" >> when you've finished editing the criteria for 1.1] >> 1.3) starred = true OR [Line 1.3 is created by clicking "Add rule" >> when you've finished editing the criteria for 1.2] >> 2) hasNextReview = false AND [To create a rule which is not another >> subrule of line 1, you have to *go back to selecting line 1 *and click >> "Add rule"] >> >> >> I hope that helps. >> Stéphane >> >> >> >> On Thursday, 7 March 2019 15:23:47 UTC, André Bonhôte wrote: >>> >>> Hi all >>> >>> I still don't get how the "Setup Advanced filtering" dialog is supposed >>> to work (Windows). Let's say, I want to create a rule like this (SQLish >>> notation): >>> >>> >>> ( dueDate <= today OR startDate <= today OR starred = true ) AND >>> hasNextReview = false >>> >>> >>> >>> I learned that the booleans work with siblings, not with childs (as I >>> initially thought), that means I would have something like this >>> >>> >>> AND >>> dueDate <= today OR >>> startDate <= today OR >>> starred = true OR >>> hasNextReview = false AND >>> >>> >>> >>> Now, assuming this is correct - how do I easily add this to the advanced >>> filter dialog? >>> >>> First attempt: "Add sub-rule" >>> >>> Nothing happens at all. >>> >>> >>> Second attempt: "Add rule" (let's start from the bottom): >>> >>> [X] NextReviev - does not exist - AND >>> >>> >>> >>> Fine, now the next block is not a rule, it's rather a set of sub rules. >>> When I click "Add sub-rule", it will behave weirdly: >>> >>> [X] > >>> [X] .... (empty) >>> >>> >>> >>> Where has my "NextReview" line gone? I can try to revert and delete the >>> empty sub-rule, but that doesn't work. All I can do is delete all rules and >>> start from scratch. Pretty cumbersome. >>> >>> I solved this by exporting the rules, sending them to my android device, >>> editing there (it's better but still bad), sending it back to my windows >>> device, noticing that the rule doesn't work. In the end I opened the XML >>> and modified it by hand. >>> >>> Cumbersome, IMHO. >>> >>> In another post >>> <https://groups.google.com/d/msg/mylifeorganized/iIqFqs4Kl1Y/oTOivaMYAQAJ> >>> I saw Stéph write something that looks very similar to my pseudo code >>> snippets. >>> >>> Are there activities ongoing to improve this? Some kind of pseudo code >>> like remember the milk offers >>> <https://www.rememberthemilk.com/help/answer/basics-search-advanced>would >>> be awesome. I must admit that this is the only part of MLO I really hate. >>> It could be so powerful and is such a nightmare to use. It's really >>> frustrating. >>> >>> Cheers >>> >>> André >>> >>> PS: On my 4K screen I can only guess what the filters mean >>> >> -- You received this message because you are subscribed to the Google Groups "MyLifeOrganized" group. To unsubscribe from this group and stop receiving emails from it, send an email to mylifeorganized+unsubscr...@googlegroups.com. To post to this group, send email to mylifeorganized@googlegroups.com. Visit this group at https://groups.google.com/group/mylifeorganized. To view this discussion on the web visit https://groups.google.com/d/msgid/mylifeorganized/4f37757e-5180-4a5f-abff-f2182c2780d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.