Question for those more savvy with using filter/subfilter/subsort operators:
I have a hierarchy of tiddlers tagged with their parent tiddlers, for example:
A
|A.1
||A.1.a
||A.1.b
...
|A.2
||A.2.a
||A.2.b
...
|A.3
B
|B.1
||B.1.a
||B.1.b
...
|B.2
... etc.
Typically, I would list the tree via nested recursive list something like:
\define recursive_list()
<$list filter="[<sec>tagging[]] +[sortan[]]" variable="sec">
<$list filter="[tag<sec>...]/>
<<recursive_list>>
Then initialize the "sec" variable via a list/set/var widget and call the recursive_list macro.
I wanted to use the Shiraz dynamic tables to display this list but it takes a single filter parameter. I could hack up the dynamic tables and try to piece together the table body within this list structure record by record. But before I try to figure out how to do that, I was wondering if anyone had an elegant single filter that could handle this. I saw the conversation here:
https://groups.google.com/g/tiddlywiki/c/ws05-YAtJ7k/m/jz9JIe9zDQAJ so maybe it is not possible to recurse within a single filter.
I could use the kin operator to gather all the relevant tiddlers but how would I sort the children such that they are after the parents without having to manually assign some sort of order field?
Has anyone else solved this problem in a better way?
/Mike