BINGO! Thanks. :)
On Sunday, November 21, 2021 at 3:44:56 PM UTC+2 [email protected] wrote: > I suspect you are using TW v5.1.23 in which this is a know issue. > Upgrading to v5.2.0 should resolve it. If it does not, please report back. > > On Sunday, November 21, 2021 at 2:30:27 PM UTC+1 CarloGgi wrote: > >> >> Hallo everybody, I go into trouble when using variables in subfilters, >> they make code as simple as >> >> <$list variable="indx" filter="[tag[myTag]indexes[]]"> >> >> <$vars subf="[getindex<indx>split[,]trim[]match[aword]]"> >> >> <$list filter="[tag[myTag]filter<subf>]" variable="result"> >> <<result>> <br/> >> </$list> >> >> </$vars> >> >> </$list> >> >> to crash TW with Internal Javascript error: "TypeError: widget is >> undefined" >> >> >> Even narrowing down the outer <$list> to a simple <$set> widget as in >> >> >> <$set name="indx" value="index-01"> >> >> <$vars subf="[getindex<indx>split[,]trim[]match[aword]]"> >> >> <$list filter="[tag[myTag]filter<subf>]" variable="result"> >> <<result>> <br/> >> </$list> >> </$vars> >> >> </$set> >> >> doesn't improve things at all. Same Internal Javascript error: >> "TypeError: widget is undefined". It really looks like using variables >> inside subfilters is the problem, as soon as I replace it with a parameter, >> like for example >> >> <$vars subf="[getindex[index-01]split[,]trim[]match[aword]]"> >> >> Tiddliwiki stops complaining. >> >> Thanks for any hints, suggestions, etc. >> >> CG >> >> Ubuntu 18.04.6 LTS >> Firefox 94.0 >> >> -- 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/8811175a-f3df-4ef8-a1da-8293b4ed0af9n%40googlegroups.com.

