Hi mark,

Thanks for the tip, but I still get the error:



<https://i.imgur.com/TxPMFsI.jpg>
Manoel

Em quarta-feira, 19 de fevereiro de 2020 14:27:32 UTC-3, Mark S. escreveu:
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ad1a60a2-68b9-45de-9ed0-d9b1d8448cec%40googlegroups.com.

Reply via email to