Mirko
There are case when you must use nested list statements and cant combine
them into single filters for example if you want to simultaneously obtain a
tiddler name and a field in that tiddlers content. The are however other
methods to use filers such as in the set and `{{{ triple braces }}}`
method.This is not a problem just a code pattern - however in the example
you gave may not be one of them.
However I do not know what the ref operator is in this example;
[ref<previouslyFoundId>]
In your first filter you know what myTiddler is and you are getting the
value from its id field - so the output of this filter is an ID value
In the second filter you are using the result of the first filter, so if
there was a ref operator you can do this;
[<myTiddler>get[id]ref[]]
If the ref operator can process the titles fed into it, in this case rather
than a tiddler title it is the ID value as a title that is passed to the
ref operator.
perhaps I could add more if you explain what you intend by the use of
ref<id>
Regards
Tony
On Friday, September 6, 2019 at 4:55:39 AM UTC+10, Mirko Richter wrote:
>
> Hi,
>
> during my work with TW5 i realize that there is a very common case, where
> i use a first <$list> to find some information and than use a second
> <$list> to find all tiddlers kinda relating to that previously found
> "information".
>
> f.e. find the id of a given tiddler like so:
> [<myTiddler>get[id]]
>
> and then look for all the tiddlers that referre to that id, like so:
>
> [ref<previouslyFoundId>]
>
> From my opinion the main problem is the "shift" of the data from the
> output into the parameter-role which contradicts the standard filter-flow
> (from my understanding the subfilter doesn't help here).
>
> Is it somehow possible to perform those two steps using just ONE single
> <$list> element?
>
> Thanks,
> Mirko
>
--
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/e91b1f4f-6226-4fe8-b6fc-f5f683153603%40googlegroups.com.