Use is operator without parameter:  [is[]]

On Thursday, November 19, 2020 at 8:39:01 PM UTC+1 [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/daf6e641-a4bc-4484-8ab7-ce5664d584a4n%40googlegroups.com.

Reply via email to