Using the list filter with more than one tag

41 views
Skip to first unread message

michaelha...@gmail.com

unread,
Mar 29, 2019, 4:56:59 PM3/29/19
to TiddlyWiki
I'll apologize in advance for what I am sure is an incredibly simple question, but for the life of me I have been unable to figure out.

I would like to use more than one tag in a list filter, so instead of:

<$list filter="[tag[TagName]sort[title]]"/>

Which creates a list of tiddlers, I could have something like:

<$list filter="[tag[TagName or TagName2]sort[title]]"/>

Which would create a list of all the tiddlers with TagName or TagName2. 

How might I go about doing such?

Thank you.

Mark S.

unread,
Mar 29, 2019, 5:42:19 PM3/29/19
to TiddlyWiki
Use two runs in your filter expression:

<$list filter="[tag[TagName]] [tag[TagName2]] +[sort[title]]"/>

-- Mark

michaelha...@gmail.com

unread,
Mar 29, 2019, 6:56:48 PM3/29/19
to TiddlyWiki
Aha! That is so simple it hurts.

Mark, thank you for your answer.

Thanks,

Michael
Reply all
Reply to author
Forward
0 new messages