@Eric - aha! I had definitely missed that. Thank you!

Sorry for cluttering this thread. At least I can report that I do not note 
any *other *bugs beyond my misreport.

<:-)
On Wednesday, November 24, 2021 at 12:23:49 AM UTC+1 Eric Shulman wrote:

> On Tuesday, November 23, 2021 at 2:14:09 PM UTC-8 Mat wrote:
>
>> `<$list filter="""[tag[Moment]tagging[]] 
>> :filter[match<currentTiddler>]""">`
>>
> In my 5.1.24-prerelease it behaves like I want, i.e it checks if the 
>> current tiddlers name matches a limited set of titles and only then 
>> displays the content. But on 5.2.0 and also 5.2.1-prerelease, it seems 
>> *every* tiddler passes the filter, thus displaying the content.
>>
>
> The filter operator docs <https://tiddlywiki.com/#filter%20Operator> says 
> this:
> *Note that within the subfilter, the "currentTiddler" variable is set to 
> the title of the tiddler being processed. The value of currentTiddler 
> outside the subfilter is available in the variable "..currentTiddler". *
>
> This handling for `<currentTiddler>` vs `<..currentTiddler>` was added in 
> TW5.2.0.  If I understand your intentions, you want to use 
> `<..currentTiddler>` to refer to the containing tiddler.
>
> Thus:
> `<$list filter="""[tag[Moment]tagging[]] 
> :filter[match<..currentTiddler>]""">`
>
> -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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/94a3a88f-d193-4fff-894b-cce25031636fn%40googlegroups.com.

Reply via email to