Hello Alberto.

After reading the documentation, what you get after the filter is evaluated 
is a space separate list. Is not a compiled filter nor a filter string. So 
what you get is something like:

<$list filter="[value1 value2 value3 each[somefield]]"> >

as you can see, does not makes much sense. Maybe enclosing the result 
inside brackets?

<$list filter="[[<myVariable>]each[somefield]]"> >



El sábado, 15 de noviembre de 2014 12:28:55 UTC+1, Alberto Molina escribió:
>
> Hi,
>
> The introduction of a filter param in the set widget in 5.1.5 gives the 
> opportunity to increase the performance by reducing calculations in 
> situations like this:
>
> <$set name="myVariable" filter="[tag[myTag]]">
>
>     <$count filter=<<myVariable>> />
>
>     <$list filter=<<myVariable>> />
>
> </$set>
>
> But, as far as I know, it doesn’t allow to manipulate the tiddlers' list 
> inside the variable. For instance, this doesn't work:
>
> <$list filter="[<myVariable>sort[title]]" />
>
> nor this:
>
> <$set name="myVariable" filter="[tag[myTag]]">
>
>     <$list filter="[<myVariable>each[somefield]]"> >
>
>         <$view field="somefield"/>
>
>         <$list filter="[<myVariable>somefield[!!somefield]]" />
>
>     </$list>
>
> </$set>
>
> Is there a way to do something like that?
>
> Alberto
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to