Modifications pour le document Children Macro
Modifié par john le 2026/01/03 16:50
Résumé
-
Objets (1 modifications, 0 ajouts, 1 suppressions)
Détails
- XWiki.WikiMacroClass[0]
-
- Code de la macro
-
... ... @@ -1,5 +1,1 @@ 1 -{{velocity}} 2 -## Escape special characters in the macro parameter value. 3 -#set ($sort = $xcontext.macro.params.sort.replaceAll('([~"])', '~$1')) 4 -{{documentTree root="document:" sortDocumentsBy="$!sort" /}} 5 -{{/velocity}} 1 +{{documentTree root="document:" /}}
- XWiki.WikiMacroParameterClass[0]
-
- Description du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -The document field used to sort the child documents, followed optionally by the sort order. E.g.: 'title' or 'date:desc'. - Paramètre obligatoire
-
... ... @@ -1,1 +1,0 @@ 1 -Non - Nom du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -sort - Type du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -org.xwiki.index.tree.internal.macro.DocumentSort