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
--
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/a0c36d61-b809-4841-8c9f-ddd8da9acc66n%40googlegroups.com.