I can't figure this one out. I have a simple task list which I populate via <<list-tagged-draggable>> macro with a template:
<$checkbox tag="Task done"></$checkbox>
<$link to=<<currentTiddler>>>
<$view field="title"/>
</$link>
and this works fine. However, I would like to add to this template a part which adds another checkbox list for subtasks, so tasks with the same title as the task in question. Something like this works:
<$list filter="[tag<currentTiddler>]">
<br>
@@margin-left:10px;
<$checkbox tag="Task done"></$checkbox>
<$link to=<<currentTiddler>>>
<$view field="title"/>
</$link>
@@
</$list>
But I would like to have the sublist be draggable just like my parent list, hence it should be populated via the
<<list-tagged-draggable>> macro. However, apparently I cant use
<$list-tagged-draggable>
</$list-tagged-draggable> because it does nothing, so I can't use the same format as in the example. Then I tried to use the macro itself with something like
<<list-tagged-draggable tag:<<currentTiddler>>>> but this does not work. I tried to put the macro in a helper macro:
\define childlist(tag:"asd")
<<list-tagged-draggable tag:$tag$>>
\end
but I could not figure out on how the hell do I pass the output of the <<currentTiddler>> to this macro. I tried using $tag$, $(tag)$ and calling with <<currentTiddler>> and with $(currentTiddler)$ but nothing seem to work.
Can someone shine some light on this issue?