Изменения документа Documents Macro

Редактировал(а) Андрей Ганьков 2025/08/09 17:45

От версии 10.1
отредактировано Андрей Ганьков
на 2025/08/09 17:45
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-index-ui/17.6.0]
К версии 9.1
отредактировано Андрей Ганьков
на 2025/07/06 04:57
Изменить комментарий: Install extension [org.xwiki.platform:xwiki-platform-index-ui/17.5.0]

Сводка

Подробности

XWiki.WikiMacroClass[0]
Код
... ... @@ -22,7 +22,7 @@
22 22  #set ($propertyDescriptors = [])
23 23  #if ("$!services.like" != "")
24 24   ## We can't make it sortable or filterable right now since it's not stored in DB.
25 - #set ($discard = $propertyDescriptors.add({ 'id': '_likes', 'sortable': false, 'filterable': false, 'editable': false }))
25 + #set ($discard = $propertyDescriptors.add({ 'id': '_likes', 'sortable': false, 'filterable': false }))
26 26   #set ($discard = $properties.add('_likes'))
27 27  #end
28 28  #if(!$isGuest && $xcontext.macro.params.actions == "true")