I'm amazed that this ever worked -- I don't think I've ever seen passing a 
parameter
to a macro in the middle of a filter before. Perhaps you could try this:

<$vars today=<<now DDD>>>
<$list filter="[tag[DoW]prefix<today>]">
<$action-setfield $field="_tgr_node_class_add" $value="my-gold-node" />
</$list>


<$list filter="[tag[DoW]] -[tag[DoW]prefix<today>]">
<$action-setfield $field="_tgr_node_class_add" $value="" />
</$list>
</$vars>


On Wednesday, February 19, 2020 at 8:17:40 AM UTC-8, @magasine wrote:
>
> Folks,
>
> I am looking for a solution to this problem:
>
> The tiddler tagged with
>   
> $:/tags/StartupAction
>
> has the following filters below:
>
>
> <$list filter="[tag[DoW]prefix<now DDD>]">
> <$action-setfield $field="_tgr_node_class_add" $value="my-gold-node" />
> </$list>
>
>
> <$list filter="[tag[DoW]] -[tag[DoW]prefix<now DDD>]">
> <$action-setfield $field="_tgr_node_class_add" $value="" />
> </$list>
>
>
> In previous versions (possibly up to 5.1.18) the filters worked, but now I 
> have problems.
>
> Any ideas on how to correct this behavior?
>
> Thanks in advance for help.
>
> Manoel.
>
> P.S .: DoW = Day of the Week
>

-- 
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/0ff26ce8-6dea-437d-aec9-c23b01558b5c%40googlegroups.com.

Reply via email to