Changes for page Space Index
Last modified by Administrator on 2021/08/11 11:37
edited by Administrator
on 2015/07/06 22:27
on 2015/07/06 22:27
edited by Administrator
on 2021/08/11 11:37
on 2021/08/11 11:37
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-index-ui/12.10.7]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,8 +1,10 @@ 1 1 {{velocity}} 2 2 #if("$!request.space" != "") #set($space=$request.space) #else #set($space = $doc.space) #end 3 3 $services.localization.render('platform.index.spaceIndexDescription', [$space]) 4 +## Since we display the space index, we do not display page titles and locations, but the old columns name and space 5 +## (old behavior consistent with this old macro)... 4 4 5 -{{documents space="$space.replaceAll('["~]', '~$0')" id="spaceindex"/}} 7 +{{documents space="$space.replaceAll('["~]', '~$0')" id="spaceindex" columns="doc.name, doc.space, doc.date, doc.author"/}} 6 6 #set($docextras=[]) 7 7 {{/velocity}} 8 8
- XWiki.WikiMacroClass[0]
-
- code
-
... ... @@ -6,7 +6,7 @@ 6 6 ## 100 documents displayed by default if no value is specified 7 7 #set ($limit = '100') 8 8 #end 9 - #set ($limit = $m athtool.toInteger($limit))9 + #set ($limit = $numbertool.toNumber($limit).intValue()) 10 10 ## Compute the XWQL portion related to sorting, based on the passed "sort" parameter 11 11 ## Valid values are "creationDate", "modificationDate" and "docName" 12 12 #set ($sort = $xcontext.macro.params.get('sort')) - defaultCategory
-
... ... @@ -1,1 +1,1 @@ 1 - Navigation1 +Deprecated