Изменения документа AWMKanbanMacro
Редактировал(а) Anton Krivchenkov 30.03.2026 23:03
От версии 4.1
отредактировано Anton Krivchenkov
на 08.01.2026 13:01
на 08.01.2026 13:01
Изменить комментарий:
Install extension [org.xwiki.contrib:macro-kanban/1.4.2]
К версии 2.1
отредактировано Anton Krivchenkov
на 31.10.2025 18:10
на 31.10.2025 18:10
Изменить комментарий:
Migrated property [executionIsolated] from class [XWiki.WikiMacroClass]
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
-
Объекты (2 изменено, 0 добавлено, 1 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -12,8 +12,6 @@ 12 12 * ##xwql## - additional xwql to restrict the query 13 13 * ##title## - field to display the title 14 14 * ##columns## - the class fields to display as a description in each card 15 -* ##order## - order to sort the data by. Example: 'doc.name desc', 'doc.date desc', 'customClassField1 asc, customClassField2 desc, doc.name desc' or 'customClassField1 asc' if the className object contains such custom fields 16 -* ##limit## - the maximum amount of items to show. If the ##displayedCategoryColumns## parameter is set, the limit is applied for each column. 17 17 18 18 Examples: 19 19
- XWiki.WikiMacroClass[1]
-
- Код
-
... ... @@ -34,12 +34,10 @@ 34 34 #set($colors = "#8C4,#0AC,#F91,#FC3,#E43") 35 35 #end 36 36 #set ($displayedCategoryColumns = "$!xcontext.macro.params.displayedCategoryColumns") 37 -#set ($order = "$!xcontext.macro.params.order") 38 -#set ($limit = "$!xcontext.macro.params.limit") 39 39 40 40 #set($width = "$xcontext.macro.params.width") 41 -#set($source = $xwiki.getDocument("Macros.KanbanAWMSource").getURL("get", "xpage=plain&outputSyntax=plain&className=${escapetool.url($className)}&category=${escapetool.url($category)}&displayedCategoryColumns=${escapetool.url($displayedCategoryColumns)}&title=${escapetool.url($title)}&columns=${escapetool.url($columns)}&xwql=${escapetool.url($xwql)}&colors=${escapetool.url($colors)} &order=${escapetool.url($order)}&limit=${escapetool.url($limit)}"))39 +#set($source = $xwiki.getDocument("Macros.KanbanAWMSource").getURL("get", "xpage=plain&outputSyntax=plain&className=${escapetool.url($className)}&category=${escapetool.url($category)}&displayedCategoryColumns=${escapetool.url($displayedCategoryColumns)}&title=${escapetool.url($title)}&columns=${escapetool.url($columns)}&xwql=${escapetool.url($xwql)}&colors=${escapetool.url($colors)}")) 42 42 #set($awmupdatepath = "/objects/${className}/0/properties/${category}/") 43 -{{kanban source="${source}" updateService="" addBoardButton="false" addItemButton="false" removeBoardButton="false" addRemoveButton="false" awmupdatepath="${awmupdatepath}" width="${width}" /}}41 +{{kanban source="${source}" updateService="" addBoardButton="false" addItemButton="false" removeBoardButton="false" removeItemButton="false" awmupdatepath="${awmupdatepath}" width="${width}" /}} 44 44 {{/velocity}} 45 45
- XWiki.WikiMacroParameterClass[6]
-
- Описание параметра
-
... ... @@ -1,1 +1,1 @@ 1 -Order to sort the data by . Example: 'doc.name desc', 'doc.date desc', or 'customClassField1 asc' if the className object contains such a field. Sort by multiple fields: 'customClassField1 asc, customClassField2 desc, doc.name desc'1 +Order to sort the data by
- XWiki.WikiMacroParameterClass[13]
-
- Значение параметра по-умолчанию
-
... ... @@ -1,1 +1,0 @@ 1 -50 - Описание параметра
-
... ... @@ -1,1 +1,0 @@ 1 -Set the maximum amount of items to show. If the displayedCategoryColumns parameter is set, the limit is applied for each column. - Обязательность параметра
-
... ... @@ -1,1 +1,0 @@ 1 -Нет - Имя параметра
-
... ... @@ -1,1 +1,0 @@ 1 -limit