Hi,

In TW you sometimes need to think different, because filter sets can 
dynamically change as you found out. 

<$set name="condition" value="[tags[]count[]match[1]]">
<$list filter="[tag[a]filter<condition>]"/>
</$set>

In this example, the first filter tag[a] gets all tiddlers that have a tag 
a. 
The second condition is 
  - get all tags of that tiddler,  
  - count them and 
  - compare to 1" ... So "a" is the only tag because of the initial filter 
-> \o/

The filter operator applies the condition to the current tiddler and 
returns its title, if the condition is not empty. 

See: 
https://tiddlywiki.com/#tags%20Operator:%5B%5Btags%20Operator%5D%5D%20%5B%5Bcount%20Operator%5D%5D%20%5B%5Bmatch%20Operator%5D%5D%20%5B%5Bfilter%20Operator%5D%5D%20%5B%5BFilter%20Operators%5D%5D

have fun!
mario

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8ed1e781-cf6f-4c74-9329-c00b70b99374n%40googlegroups.com.

Reply via email to