I think you want the tags[] filter operator. How about:
<$list filter="[tag[Task]]">
<$link to=<<currentTiddler>>/> (part of project <$link to={{{
[all[current]tags[]tag[Project]] }}}/>)
</$list>
This assumes your tasks are tagged Task and your projects are tagged
Project...you can replace the tag[Task] and tag[Project] bits in the
filters with whatever criteria you need to determine if something is a task
or a project.
On Friday, April 30, 2021 at 3:07:15 AM UTC-5 passingby wrote:
> If I have Project tiddlers as parents and Tasks as children tagged by the
> parent's name:
> Project-1
> Task1
> Task2
> Task3
> Project-2
> Task4
> Task5
>
> How do I create a list like this:
>
> Task1 - Project1
> Task2 - Project1
> .....
> Task4 - Project2
>
> In other words, when I iterate through the list of Tasks, I wish to
> display the Project's name alongside. Is it possible? The only link between
> the project and the task is that the task is tagged with the project's
> name. So the logic generating the list has to look backwards somehow.
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/3f8685db-2d81-4f03-babf-8f9634eb18e2n%40googlegroups.com.