yeah, Eric is right. A small addition is that filters should generally be 
enclosed in *triple* quotes because if any of the filtered out items has 
quotes in it, then this can *conflict* with the enclosing filter quotes. 
So, get into the habit of writing filter="""..."""

To see the problem, you can test to create a new tiddler titled  This is a 
"new" tiddler  and tag it with  About

<:-)
On Thursday, July 8, 2021 at 12:37:00 PM UTC+2 Eric Shulman wrote:

> On Thursday, July 8, 2021 at 2:36:55 AM UTC-7 [email protected] wrote:
>
>> I'm trying to figure out how it works, simplified the example, and it 
>> doesn't do anything. Does it not fit in newer versions?
>> <$set name="myVar" filter='[tags[About]]'>
>> <$list filter='<myVar>'></$list>
>> </$set>
>>
>
> * The *[tags[]]* filter operator doesn't accept a operand value.  You 
> want to use *[tag[About]]* to match tiddlers with the "About" tag.
> * When using a *variable as a parameter value* (in the $list widget),  do 
> not enclose it in quotes, and use doubled angle brackets
> * The $list widget needs some syntax inside it to indicate what to output
>
> Here's a corrected version of your example code:
> <$set name="myVar" filter="[tag[About]]">
> <$list filter=<<myVar>>><$link/><br></$list>
> </$set>
>
> -e
>

-- 
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/642ec5bf-d385-4395-937e-fca2c84fce46n%40googlegroups.com.

Reply via email to