Try this;

\define test_project() $:/temp/project-1
<$list filter="[<test_project>get[alarms]!match[]]" variable="has_alarms">
   <<has_alarms>>
</$list>

When you go from a text reference transclusion 
"{$:/temp/project-1!!alarms}" to a filter "[<test_project>get[alarms]" you 
can't just change half the text reference.

Tones

On Monday, 16 August 2021 at 22:48:03 UTC+10 vpl wrote:

> Hi,
>
> I'm blocking a the current issue.
> I want to apply a $listwidget on the value contained into a specific 
> tiddler variable
>
> The following code works fine
>
> \define test_project()        $:/temp/project-1
> <$list filter="[{$:/temp/project-1!!alarms}!match[]]" 
> variable="has_alarms">
>    <<has_alarms>>
> </$list>
>
> But when I want to use the test_project macro name (defining the tiddler) 
> this does not works ..
> <$list filter="[{<test_project>!!alarms}!match[]]" variable="has_alarms">
>    <<has_alarms>>
> </$list>
>
> Any idea that would help me ???
>
> Thanks a lot for your support
>
> Vpl
>
>

-- 
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/ef4a4218-901b-4c6c-96e0-1b155ea0b9a0n%40googlegroups.com.

Reply via email to