Changes for page Documents Macro

Last modified by Leon Poon on 2024/03/23 04:20

From version 2.1
edited by Leon Poon
on 2020/01/05 05:51
Change comment: Migrated property [contentJavaType] from class [XWiki.WikiMacroClass]
To version 6.1
edited by Leon Poon
on 2023/05/16 13:31
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-ui/14.10.10]

Summary

Details

XWiki.WikiMacroClass[0]
Cached
... ... @@ -1,0 +1,1 @@
1 +No
Asynchronous rendering
... ... @@ -1,0 +1,1 @@
1 +No
Macro code
... ... @@ -40,6 +40,14 @@
40 40   'sortable': false
41 41   }))
42 42  #end
43 +#if ("$!services.like" != "")
44 + #set($discard = $collist.add('_likes'))
45 + ## We can't make it sortable or filterable right now since it's not stored in DB.
46 + #set($discard = $colprops.put('_likes', {
47 + 'filterable': false,
48 + 'sortable': false
49 + }))
50 +#end
43 43  #if ($collist.contains('doc.location'))
44 44   #set ($discard = $options.put('selectedColumn','doc.location'))
45 45  #end
Default categories
... ... @@ -1,0 +1,1 @@
1 +Content
Default category
... ... @@ -1,1 +1,0 @@
1 -Content