Add special relations that refer to a note's parent note ($parent) and all ancestor notes ($ancestors). All ancestors would include multiple notes (parent, grandparent, etc.).
Cloned notes have multiple parents. In this case, $parent might return multiple notes. $parents should be an alias for $parent.
Examples:
#attribute=$parent (get parent note)
#attribute=$parent.tag (get tag attribute of parent note)
Related: https://github.com/mabeyj/trilium-collection-views/discussions/38
Add special relations that refer to a note's parent note (
$parent
) and all ancestor notes ($ancestors
). All ancestors would include multiple notes (parent, grandparent, etc.).Cloned notes have multiple parents. In this case,
$parent
might return multiple notes.$parents
should be an alias for$parent
.Examples:
#attribute=$parent
(get parent note)#attribute=$parent.tag
(get tag attribute of parent note)#attribute=$parent.$parent
(get grandparent note)#attribute=$parents
#attribute=$ancestors