It works fine. I tried to find a alternative, but I wasn't lucky.

When I resee your filter, I remember about the multiple parameters in 
filter operator with commas (from last version, 5.1.23). And we can add a 
second filter run that it applies your filter to result of first run. Then 
you can rewrite your filter something like this (in filtering transclusion)
{{{  [tag[Tag 1]*,*[Tag 2],[Tag 3],[Tag 4]]  
:filter[tags[]count[]compare:eq[4]]  }}}

Although maybe it be less understandble for you.


El viernes, 24 de septiembre de 2021 a las 10:59:50 UTC+2, 
[email protected] escribió:

> That's fine by me.
>
> And yes filters are fun even if sometimes a bit tricky.
>
> So for the fun of it, you could arrange your filter so that the input 
> would be the 4 tags you want.
>
> something like that:
>
> \define fun(tags)
> <$set variable=occ filter="[[$tags]....put your filter code 
> here...count[]]">Seen <<occ>> tiddlers with tags $tags$</$set>
> \end
>
> Sometimes, this fun has you coding javascript filter operator. Would this 
> be the case here? I have not thought about it yet.
>
> cheers,
>
>
> Le vendredi 24 septembre 2021 à 03:54:34 UTC+2, [email protected] a 
> écrit :
>
>> Me and my interest in brain age games, I couldn't help but play around 
>> with a filter to find all tiddlers that have all four specified tags, but 
>> only those four tags.
>>
>> You'll find three tiddlers in the attached json.  Download the file, and 
>> drag into some TiddlyWiki instance (TiddlyWiki.com !) to take a gander.
>>
>> There are all kinds of ways to go about doing this sort of thing, with 
>> some filter operators maybe better suited, but I find the result a bit 
>> easier for me to understand (more logical to me, or maybe more 
>> self-explanatory, because of the way my brain works, I suppose.)  Maybe 
>> just a difference between top-down view vs bottom-up view or something ...
>>
>> Yeah, I find filters fun.
>>
>

-- 
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/42343ad0-6a2a-4b0f-a6d6-cc975235272fn%40googlegroups.com.

Reply via email to