Changes for page Rangee Index

Last modified by Tobias Wintrich on 2025/06/04 09:20

From version 7.35
edited by Tobias Wintrich
on 2021/09/27 14:48
Change comment: There is no comment for this version
To version 7.36
edited by Tobias Wintrich
on 2021/09/27 14:50
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -14,7 +14,8 @@
14 14  {{tree}}
15 15  #foreach ($child in $doc.children)
16 16   * [[$child]]
17 - #foreach ($subchild in $child.children)
17 + #set ($childDoc = $xwiki.getDocument($child))
18 + #foreach ($subchild in $childDoc.children)
18 18   ** [[$subchild]]
19 19   #end
20 20  #end