Изменения документа Children Macro
Редактировал(а) Сергей Коршунов 2025/07/17 22:34
От версии 3.1
отредактировано Сергей Коршунов
на 2022/07/28 11:02
на 2022/07/28 11:02
Изменить комментарий:
Install extension [org.xwiki.platform:xwiki-platform-index-tree-macro/14.6]
К версии 6.1
отредактировано admins admins
на 2025/05/01 20:26
на 2025/05/01 20:26
Изменить комментарий:
Migrated property [executionIsolated] from class [XWiki.WikiMacroClass]
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
-
Объекты (1 изменено, 1 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Автор документа
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. skorshunov1 +XWiki.admins
- XWiki.WikiMacroClass[0]
-
- Код
-
... ... @@ -1,3 +1,5 @@ 1 1 {{velocity}} 2 -{{documentTree root="document:" /}} 2 +## Escape special characters in the macro parameter value. 3 +#set ($sort = $xcontext.macro.params.sort.replaceAll('([~"])', '~$1')) 4 +{{documentTree root="document:" sortDocumentsBy="$!sort" /}} 3 3 {{/velocity}}
- XWiki.WikiMacroParameterClass[0]
-
- Описание параметра
-
... ... @@ -1,0 +1,1 @@ 1 +The document field used to sort the child documents, followed optionally by the sort order. E.g.: 'title' or 'date:desc'. - Обязательность параметра
-
... ... @@ -1,0 +1,1 @@ 1 +Нет - Имя параметра
-
... ... @@ -1,0 +1,1 @@ 1 +sort - Тип параметра
-
... ... @@ -1,0 +1,1 @@ 1 +org.xwiki.index.tree.internal.macro.DocumentSort