Changes for page Documents Macro

Last modified by Ludovic Dubost on 2024/07/22 15:50

From version 10.1
edited by Ludovic Dubost
on 2018/12/09 12:24
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-ui/10.10]
To version 9.1
edited by Ludovic Dubost
on 2018/11/30 15:24
Change comment: Migrated property [async_enabled] from class [XWiki.WikiMacroClass]

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -8,7 +8,7 @@
8 8   #set($collist = ['doc.title', 'doc.location', 'doc.date', 'doc.author'])
9 9  #end
10 10  #set($colprops = {
11 - 'doc.title' : { 'size' : 30, 'link' : 'view' },
11 + 'doc.title' : { 'size' : 30, 'link' : 'view', 'filterable': false, 'sortable': false },
12 12   'doc.location' : { 'html': true },
13 13   'doc.fullName' : { 'size' : 30, 'link' : 'view' },
14 14   'doc.name' : { 'size' : 30, 'link' : 'view' },
... ... @@ -40,9 +40,6 @@
40 40   'sortable': false
41 41   }))
42 42  #end
43 -#if ($collist.contains('doc.location'))
44 - #set ($discard = $options.put('selectedColumn','doc.location'))
45 -#end
46 46  #if ("$!xcontext.macro.params.id" != "")
47 47   #set ($livetableId = $xcontext.macro.params.id)
48 48  #else