If you didn't set the variable, then <<currentTiddler>> would contain
whatever the inner list widget returns. Instead it uses whatever the outer
list widget returns.
Sometimes in this situation I use variable="dummy" to remind me that the
variable doesn't do anything.
On Sunday, October 6, 2019 at 12:48:02 PM UTC-7, A Gloom wrote:
>
> Overcame the last hurdle holding up "Searchin high n low" and it was fixed
> with... kaos coding (cause I didn't knowing did it-- goes against what i
> would do) so I can truly say my wiki has "KAOS inside"
>
> The " variable="" " in the list widget below was initially put in to use
> but never was-- so its not being used by the list-- but if I remove it, the
> list breaks. As long as it remains, regardless of the variable name used
> or left empty, the list works-- hence the kaos value.
>
> <$set name="urlfinal" value={{$:/temp/refwikiurl}}>
> <div style="margin-bottom:10px; padding:0px 0px 4px 10px; border:dotted
> 2px;">
> <<refwikiurlfinal>><br/>
> <$list filter="[[reference wikis bookmarks]indexes[]]" >
> <$list filter="[[reference wikis
> bookmarks]getindex<currentTiddler>search:title{$:/temp/refwikiurl}]"
> variable="kaos">
> <<currentTiddler>>
> • ''Version:'' <$view tiddler="reference wikis bookmarks version"
> index=<<currentTiddler>>/><br/>
> • ''Has:'' <$view tiddler="reference wikis bookmarks material" index=<
> <currentTiddler>>/><br/>
> <$set name="data" tiddler="reference wikis bookmarks toc" index=<
> <currentTiddler>> >
> Table of contents: <br/><$select tiddler='$:/temp/refwikitoc'
> default=""><$list filter=<<data>>+[encodeuri[]]><option value=<
> <currentTiddler>>><$view field="title" format="text" /></option>
> </$list></$select><br/>
> </$set></$list>
> </$list>
>
>
>
> For the uninitiated: KAOS/kaos = *K*ats *A*gainst
> *O*rganization and *S*anity* (formerly Kittens)*
>
--
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/adde42f6-cf64-4319-833f-f5b692b8c04b%40googlegroups.com.