Jeremy,

This is awesome! Thanks a lot!

On Thu, Nov 7, 2013 at 11:50 AM, Jeremy Ruston <[email protected]>wrote:

> Hi Arkady
>
> I don't think it's currently possible to filter for your postponed tasks;
> as discussed previously, we'd need a new filter operator that allows
> comparisons.
>

I understand.  For now, I created a list of postponed tasks grouped by
"start" date and delete the "start" field manually each day.  To do that, I
customized the "sameday.js" filter to use "start" field instead of
"modified" and added the new filter as "samestartday".  Works for me.
Actually, moving tasks from "postponed" to "active" manually makes me
review them at the same time.

!Postponed Tasks
<$list
filter="[!has[draft.of]tag[task]!tag[done]has[start]sort[start]eachday[start]]"
itemClass="tw-menu-list-item">''
<$view field="start" format="date" template="DDth MMM YYYY"/>''<br/>
<$list
filter="[!tag[done]samestartday{!!start}sort[created]!sort[priority]]"
itemClass="tw-menu-list-subitem"> <$checkbox tag="done">
<span style="color:red"><$view field="priority"/></span>
<$view field="title" format="link"/>
</$checkbox><br/>
</$list>
</$list>


> Anyhow, this gives us tiddlers tagged task that are not done:
>
> [tag[task]!tag[done]]
>
> This gives us all the tiddlers tagged with tiddlers that are tagged task
> that are not done:
>
> [tag[task]!tag[done]tagging[]]
>
> We can further filter for tiddlers that are themselves tasks:
>
> [tag[task]!tag[done]tagging[]tag[task]]
>
>
Yess!  This is exactly what I was looking for.

I don't quite understand how the "tagging[]" condition works.  It looks
like filters preceeding the "tagging[]" apply to the tag tiddlers and
filters following "tagging[]" apply to the list tiddlers themselves.  Is it
correct?

 Thank you very much!


-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to