Changes for page Documents Macro

Last modified by Florent Charton on 2025/08/19 15:15

From version 8.1
edited by Florent Charton
on 2025/08/19 15:15
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-ui/17.4.3]
To version 7.1
edited by Florent Charton
on 2025/07/04 23:28
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-ui/16.10.9]

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -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")