I had a minor cut/paste syntax error...

hasOpenTask(p) 

... instead of ...

isOpenTask(p)

... but resolved it, and it is working now.    It creates the list.    

In my case, I put tasks under a parent node, which is usually either myself 
or another person.    Showing the parents, but only the parents with tasks 
and only the tasks with parents, is what I'm striving for.

The power of clones is becoming more evident as I continue to refine these 
searches.    Thanks again!

On Friday, February 26, 2016 at 9:19:23 AM UTC-8, Edward K. Ream wrote:
>
>
>
> On Fri, Feb 26, 2016 at 9:49 AM, Richard Andersen <mont...@gmail.com 
> <javascript:>> wrote:
>
>> Thank you very much, Edward.
>>
>> I have the code working now.    It is finding all my nodes, so I'll see 
>> if I can figure out what further changes will limit the result set to just 
>> those with open and todo tags.
>>
>
> ​Huh?  Didn't this do it?
>
> def isOpenTask(p):
>     tags = tc.get_tags(p)
>     return 'open' in tags and 'todo' in tags
>
> ​
>  
> ​EKR
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to