Changes for page Children Macro

Last modified by Alexandru Pentilescu on 2026/07/12 19:23

From version Icon 3.1
edited by Alexandru Pentilescu
on 2026/07/12 19:23
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-tree-macro/18.5.0]
To version 1.1 Icon
edited by superadmin
on 2025/08/17 22:33
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-tree-macro/17.6.0]

Summary

Details

Icon Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.AlexandruPentilescu
1 +XWiki.superadmin
Icon XWiki.WikiMacroClass[0]
Macro code
... ... @@ -2,7 +2,7 @@
2 2  ## Escape special characters in the macro parameter value.
3 3  #set ($sort = $xcontext.macro.params.sort.replaceAll('([~"])', '~$1'))
4 4  #if ("$!xcontext.macro.params.root" != '')
5 - #set ($root = $xcontext.macro.params.root.replaceAll('([~"])', '~$1'))
5 + #set ($root = $xcontext.macro.params.root)
6 6  #else
7 7   #set ($root = 'document:')
8 8  #end
Icon XWiki.WikiMacroParameterClass[1]
Parameter type
... ... @@ -1,1 +1,0 @@
1 -org.xwiki.tree.EntityTreeNode