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="[getindexsplit[,]trim[]match[aword]]">
<$list filter="[tag[myTag]filter]" variable=“result”>
<>
</$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="[getindexsplit[,]trim[]match[aword]]">
<$list filter="[tag[myTag]filter]" variable=“result”>
<>
</$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