That worked for me when invoked like:

<<contactevents "John">>

Good luck,

-- Mark

On Monday, January 29, 2018 at 11:41:47 AM UTC-8, passingby wrote:
>
> How do i pass a parameter value coming in into a macro definition, to a 
> list widget filter.
>
> this does not seem to work for me:
>
>
> \define contactevents(name)
>
>
> <$list filter="[tag[event]search:people[$name$]]">
>
>
> </$list>
> \end
>
>
> I also tried with search:people[<name>] and search:people <name>
>
> If I hard code the value then it works eg search:people[John]
>
> Which means that the filter expression and the macro is working. I am only 
> making a mistake in passing the parameter value.
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0fadf6b0-8d73-44bb-bd2f-478971ed4ded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to