UUPS, 
I didn't read your OP good enough, because my solution works for 1 tag 
only. ... BUT it should contain enough info to figure out, how the filter 
should look like for your problem;)
-m

On Monday, July 26, 2021 at 7:39:12 AM UTC+2 PMario wrote:

> 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/113198f6-ed00-4723-8ec7-3569ed2003a7n%40googlegroups.com.

Reply via email to