Changes for page Documents Macro
Last modified by Ludovic Dubost on 2024/07/22 15:50
From version 6.1
edited by Ludovic Dubost
on 2016/10/24 00:53
on 2016/10/24 00:53
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-index-ui-8.2.1]
To version 9.1
edited by Ludovic Dubost
on 2018/11/30 15:24
on 2018/11/30 15:24
Change comment:
Migrated property [async_enabled] from class [XWiki.WikiMacroClass]
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -8,13 +8,12 @@ 8 8 #set($collist = ['doc.title', 'doc.location', 'doc.date', 'doc.author']) 9 9 #end 10 10 #set($colprops = { 11 - 'doc.title' : { 'type' : 'text' , 'size' : 30, 'link' : 'view', 'filterable': false, 'sortable': false }, 12 - 'doc.location' : { 'type': 'text', 'filterable': true, 'html': true}, 13 - 'doc.fullName' : { 'type' : 'text' , 'size' : 30, 'link' : 'view' }, 14 - 'doc.name' : { 'type' : 'text' , 'size' : 30, 'link' : 'view' }, 15 - 'doc.space' : { 'type' : 'text', 'link' : 'space' }, 16 - 'doc.date' : { 'type' : 'date' }, 17 - 'doc.author' : { 'type' : 'text', 'link' : 'author' } 11 + 'doc.title' : { 'size' : 30, 'link' : 'view', 'filterable': false, 'sortable': false }, 12 + 'doc.location' : { 'html': true }, 13 + 'doc.fullName' : { 'size' : 30, 'link' : 'view' }, 14 + 'doc.name' : { 'size' : 30, 'link' : 'view' }, 15 + 'doc.space' : { 'link' : 'space' }, 16 + 'doc.author' : { 'link' : 'author' } 18 18 }) 19 19 #set($options = { 20 20 'translationPrefix' : 'platform.index.', ... ... @@ -35,7 +35,11 @@ 35 35 #end 36 36 #if(!$isGuest && $xcontext.macro.params.actions == "true") 37 37 #set($discard = $collist.add('_actions')) 38 - #set($discard = $colprops.put('_actions', { 'actions' : ['copy', 'rename', 'rights', 'delete'] })) 37 + #set($discard = $colprops.put('_actions', { 38 + 'actions': ['copy', 'rename', 'rights', 'delete'], 39 + 'filterable': false, 40 + 'sortable': false 41 + })) 39 39 #end 40 40 #if ("$!xcontext.macro.params.id" != "") 41 41 #set ($livetableId = $xcontext.macro.params.id)