This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

subfilter Operator

17th December 2021 at 1:57pm
purposeselect titles from the parameter interpreted as a filter expression
inputa selection of titles passed as input to the subfilter
! inputa selection of titles passed as input to the subfilter
parameterS=a filter expression
outputthe selection of titles returned from the subfilter S
! outputthose input titles that are not returned from the subfilter S

Learn more about how to use Filters

Introduced in v5.1.18 Note that the subfilter operator was introduced in version 5.1.18 and is not available in earlier versions.

Tip
Literal filter parameters cannot contain square brackets but you can work around the issue by using a variable:

<$set name="myFilter" value="[tag[one]]">
<$list filter="[all[tiddlers]subfilter<myFilter>]">
...

Tip
Compare with the similar filter operator which runs a subfilter against each title, returning those titles that return a non-empty list (and discards the results of the subfilter)

The subfilter operator will act as a constructor whenever the filter defined by its parameter is a constructor. Otherwise, it will act as a modifier.

Examples