Soren, Without looking into this in detail I often make use of the fact that title must exist if the tiddler exists so !has[title]] will never be true for a tiddler, or has[title]] if it exists.
It seems to me when you say a filter that does nothing your are suggestion it does not filter, perhaps try is[blank] !is[blank] match[impossiblestring] or make use of the ten else operators. Tones On Friday, 20 November 2020 at 06:39:01 UTC+11 [email protected] wrote: > Is there a best practice for creating a filter step (or entire filter run) > that doesn't do anything (passes inputs through to outputs)? > > My use case: I'm using the *subfilter* operator where the subfilter is > pulled from a temp tiddler controlled by a checkbox. When the checkbox is > checked, I want to apply an additional filter; when it's unchecked I want > no additional criteria on top of what's already in the filter run before > coming to *subfilter*. I tried just leaving the temp tiddler blank, but > that causes there to be no results since an empty filter always has no > output. > > I got it to work using *search[] *for the no-filter condition, but I'm > not sure if there's a cleaner way to do this. Instinctively it feels like > that could be a bit slow, too, depending on the implementation. > -- 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/4436f718-3965-495b-8d5f-6103554b5500n%40googlegroups.com.

