[tw5] Re: Cannot use a variable from a filter. Can someone help me ?

2021-09-24 Thread Jean-Pierre Rivière
Yes it does trigger a javascript exception. The following code does the things you want, if I have well understood your goal. <$vars target="<>"> <$wikify name=todayfilter text=" [get[task_date]match[<>]]"> <> : <> <$list filter="[regexp[db___]!sort[task_start_time]filter]"> <$link><$view

[tw5] Re: Cannot use a variable from a filter. Can someone help me ?

2021-08-23 Thread Eric Shulman
On Monday, August 23, 2021 at 5:13:22 AM UTC-7 vpl wrote: > Thanks a lot; I agree for 1), 3) and 4) > But for point 2) in fact what I need to do is the following code > <$vars now_date=<>> > <> > <$vars todayfilter="[get[task_date]match]"> > I use the *filter *operator into the list as I want to

[tw5] Re: Cannot use a variable from a filter. Can someone help me ?

2021-08-23 Thread vpl
Hi, Thanks a lot; I agree for 1), 3) and 4) But for point 2) in fact what I need to do is the following code <$vars now_date=<>> <> <$vars todayfilter="[get[task_date]match]"> <$list filter="[regexp[db___]!sort[task_start_time]filter]"> <$link><$view field="task_date"/> <$view field="tags"/>

[tw5] Re: Cannot use a variable from a filter. Can someone help me ?

2021-08-23 Thread Eric Shulman
On Sunday, August 22, 2021 at 1:24:58 PM UTC-7 vpl wrote: > I'm trying to run the following code (at the end of the message) which > uses a variable called 'target' (that contains the current date) into a > filter called todayfilter > \define now_val() > <$vars now_date=<>> > <$vars target={{{

[tw5] Re: Cannot use a variable from a filter. Can someone help me ?

2021-08-22 Thread TW Tones
I just had a quick look at your code <$vars todayfilter="[get[task_date]compare:string:eg[]] Try; vars todayfilter="[all[current]get[task_date]compare:string:eg]" Tones On Monday, 23 August 2021 at 06:24:58 UTC+10 vpl wrote: > Hi, > > I'm trying to run the following code (at the end of the