Without spending an hour to try to mock up your data, try ...

 <$list filter="[gsd_type[project]gsd_project<currentTiddler>]">  
 <===struggling here

Double {{ braces }} are only used OUTSIDE filters. Double << chevrons >> 
are also used OUTSIDE filters.

Inside filters, use { single } braces and < chevrons > .

Notice that I simplified the filter a bit and used <currentTiddler> rather 
than {!!title} (which would have also worked. Using variables sometimes 
makes things easier, because you can give each nested tiddler it's own via 
variable="myvar" . But I digress.




On Friday, September 18, 2020 at 8:20:31 PM UTC-7, Simon wrote:
>
> Hi,
>
> Sorry if this is super noob but any help is much appreciated.
>
> I'm trying to created a nested list - I'm using GSD5 and I want to get all 
> the top level projects and list their sub projects underneath. I understand 
> how that is setup in GSD I am struggling with the list.
>
> Here is what I have so far:
> <$list filter="[gsd_type[project]gsd_project[]]">    <===gets top level 
> and works
>   <$link to={{!!title}}><$view field="title"/></$link><br>
>      <$list filter="[gsd_type[project]gsd_project[{{!!title}}]]">  
>  <===struggling here
>             <$link to={{!!title}}><$view field="title"/></$link><br>
>      </$list>
> </$list>
>
> The problem is in line 3 - I am trying to get it to find all the tiddlers 
> that have the title in gsd_project from the outer list
>
> I want it to look like this
> Main Project
> Sub1
> Sub2
> Main Project2
> Sub1
> Sub2
>
> I'll handle formatting & indenting later, right now I'm just working on 
> the syntax on this
>
> Thanks
> Simon
>

-- 
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/cd87dbff-3e7f-4a89-acee-686df9f50781o%40googlegroups.com.

Reply via email to