Changes for page Rangee Index

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

From version 7.34
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
... ... @@ -9,10 +9,13 @@
9 9  #prepareTreeOptions($options)
10 10  #documentTree($options)
11 11  
12 +{{/html}}
13 +
12 12  {{tree}}
13 13  #foreach ($child in $doc.children)
14 14   * [[$child]]
15 - #foreach ($subchild in $child.children)
17 + #set ($childDoc = $xwiki.getDocument($child))
18 + #foreach ($subchild in $childDoc.children)
16 16   ** [[$subchild]]
17 17   #end
18 18  #end
... ... @@ -19,7 +19,5 @@
19 19  {{/tree}}
20 20  
21 21  
22 -{{/html}}
23 -
24 24  {{/velocity}}
25 25