I can’t figure out how to do the simplest thing.
I have a filter that is going to run with a single title as its input. It needs to run two of those title’s fields as filters and add their output to its output. For various technical reasons, I cannot use outside variables, and currentTiddler cannot be set prior.
I was three layers deep with subfilter[]
and :map:flat
before giving up. How is this so hard? Is there really no filter that runs input titles as filters? Like [runfilter[]] or something like that? Then I could do [all[]get[fieldA]runfilter[]] [all[]get[fieldB]runfilter[]]
and be done with it.
Something like [all[]get[fieldA]] :map:flat[subfilter<currentTiddler>]
works, but it doesn’t work for TWO fields.
[all[]get[fieldA]] :map:flat[subfilter<currentTiddler>] [all[]get[fieldB]] :map:flat[subfilter<currentTiddler>]
This fails because the input of the first field filter gets sent into the second.
Does anyone have any ideas?