Named filters?

71 views
Skip to first unread message

amreus

unread,
Sep 10, 2020, 7:35:44 AM9/10/20
to TiddlyWiki

I am experimenting with task manager as if the world needs another...  http://amreus.tiddlyspot.com/

The different views require many similar but different filters, but most of them have a common part that might be named "active tasks" and which may look like the following:

tag[Task]!tag[Done]!tag[Trash]

I want to create a few "named" filters that I can use so I can use them by name and only need to edit them in one place.

Does anything exist?  I assume this can be done using global macros but I wanted to ask about suggestions as I get started.  Thanks.

Saq Imtiaz

unread,
Sep 10, 2020, 7:55:08 AM9/10/20
to TiddlyWiki
You can save a filter in a tiddler and then re-use it with the subfilter operator.

For instance if the filter is saved in tiddler MyFilter:

[subfilter{MyFilter}]
Reply all
Reply to author
Forward
0 new messages