help with filter please

74 views
Skip to first unread message

Rustem

unread,
Aug 8, 2016, 7:11:27 PM8/8/16
to TiddlyWiki
Tiddlers have a field "when" that is a space separated list of tiddler titles.

Tiddler A has "when" set to `morning [[day time]] evening`

Tidddler B has "when" set to `morning`

Tiddler C has "when" set to `[[day time]]`

Tiddler D has "when" set to `evening`

Tiddlers "morning" and "day time" have a tag "UV"

Given a string "UV" and knowing there is a field called "when", how do I write a filter that would return A,B,C, but not D?

Jed Carty

unread,
Aug 9, 2016, 3:19:47 AM8/9/16
to TiddlyWiki
Try '[tag[UV]tagging[]]', I think that should work.

Rustem

unread,
Aug 9, 2016, 4:05:05 AM8/9/16
to TiddlyWiki
It's not tagging though. The lowest level is not tagged, but linked via a field called "when".

Mark S.

unread,
Aug 9, 2016, 11:22:01 AM8/9/16
to TiddlyWiki
I was able to work this out with the help of one of another's Jed's posts about tagging:

<$list filter="[tag[UV]] +[listed[when]]" />


Mark
Reply all
Reply to author
Forward
0 new messages