Hi Jimmy

It's surprisingly easy:

<$list filter="[tag[UK]tagging[]]"/>

The first operation gets all the tiddlers tagged UK, and the second part
selects the tiddlers that those tiddlers are tagging.

If you also wanted to include tiddlers that were directly tagged UK you
could do this:

<$list filter="[tag[UK]tagging[]] [tag[UK]] +[sort[title]]"/>

Now we've got two independent filter operations: to get the tiddlers tagged
with a tag that's tagged UK, and those tagged directly UK. The final clause
sorts the accumulated results by title.

Best wishes

Jeremy




On Sat, Dec 28, 2013 at 2:55 PM, Jimmy Chan <[email protected]> wrote:

> Hi,
>
> First of all, I would like to thank the developers for the TW5 reboot. It
> looks amazing.
>
> I got a question about the <$list> function. For example, I got a tag
> called "UK". And then I got another tag called "London", which is tagged
> with "UK".
>
> Can I use the <$list filter> function to recursively list the tiddlers
> tagged with "UK"? (i.e. I want to list the tiddlers tagged with "UK" as
> well as those tagged with "London", without mentioning "London" in the
> syntax). Thanks.
>
> --
> 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.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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