Hello all,
I am trying to get a nested timeline of Journal entries. Each Journal tiddler title starts with the prefix "YYY-0MM-0DD/" (example: 2021-04-19/Walking). For each day, there is also an empty tiddler titled with the format "YYY-0MM-0DD" (example: 2021-04-19). These
"day" tiddlers also have a "year" and "month" field (example: year=2021, month=-4).
I am trying to get a nested timeline list using the fields to break out the year & months, then finally display a list of transcluded entries for each year-month combo. So far I have the below code:
----------------------------
\define combo() $(getCombo)$
<$set name="getCombo" value="""<<year>>-<<month>>""" >
<$list filter="[tag[Journal]has:field[year]each[year]get[year]!nsort[title]]" variable="year">
<$tiddler tiddler=<<year>>>
<<year>><br/>
<$list filter="[prefix<year>has:field[month]each[month]get[month]!nsort[title]]" variable="month">
<$tiddler tiddler=<<month>>>
{{!!title}}<br/>
<<combo>> | <$list filter="[tag[Journal]prefix<combo>]">{{!!title}}</$list>
</$tiddler><hr/>
</$list>
</$tiddler><br/><br/>
</$list>
</$set>
----------------------------
Everything works great until the line
<<combo>> | <$list filter="[tag[Journal]prefix<combo>]">{{!!title}}</$list>. Outside the list, the <<combo>> variable properly displays, but inside the list <combo> is (maybe) not working. I am getting an empty list instead a list of tiddler titles prefixed with the <<year>>-<<month>> variables.
Any suggestions?
Thanks