Thanks for your effort!

I just made a filter operator (as TonyM suggested) to gather "family" of a 
tiddler, the "field of connection" can be set (defaults to "tags"):

[kindred:<direction>[<field>]]

https://github.com/bimlas/TiddlyWiki5/blob/f5790f0973d8c46156cd6ad995491732cbc16b2f/core/modules/filters/kindred.js

The "base tiddler" is excluded from the list.

For example if I want to show tiddlers where "Drag and Drop" belongs to, I 
can use

[[Drag and Drop]kindred:up[]]


   - Features 
   - TableOfContents 
   - $:/tags/SideBar
   
Filter tiddlers belongs to "Drag and Drop" 

[[Drag and Drop]kindred:down[]]

   - DragAndDropMechanism
   
To get the whole "family":

[[Drag and Drop]kindred[]]

   - Features Features 
   - TableOfContents 
   - $:/tags/SideBar 
   - DragAndDropMechanism
   
It works on any field, for example "parent" (as PMario's ToCP works) or 
"list":

[[TableOfContents]kindred[list]]


   - HelloThere 
   - A Gentle Guide to TiddlyWiki 
   - Discover TiddlyWiki
   - ...
   - Encryption 
   - Customise TiddlyWiki 
   - Initial customisation
   - ...

Your solution works with "OR" condition (if I'm right), but I want to use 
"AND" when filtering to multiple tags. This operator should work in this 
way, but I don't know what's the problem: it's showing only the results of 
the second expression:

[[Filters]kindred[]] +[[Learning]kindred[]] 

I tried out with filtering tags, in that case it works as expected: it's 
showing only https://tiddlywiki.com/#Introduction%20to%20filter%20notation

[tag[Filters]] +[tag[Learning]]

PS.: I'm not strong in English, so please advise another name if it's odd: 
I looked for a word that describing the parents and the childs at once.

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f49a968c-7d7a-4292-af2a-671ebae0210a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to