Changes for page Space Index

Last modified by teamwire004 on 2025/07/01 06:47

From version 2.1
edited by teamwire-admin
on 2024/01/16 09:29
Change comment: Migrated property [defaultCategories] from class [XWiki.WikiMacroClass]
To version 4.1
edited by teamwire004
on 2024/07/08 14:57
Change comment: Migrated property [type] from class [XWiki.WikiMacroParameterClass]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.teamwire-admin
1 +XWiki.teamwire004
XWiki.WikiMacroClass[0]
Cached
... ... @@ -1,0 +1,1 @@
1 +No
Asynchronous rendering
... ... @@ -1,0 +1,1 @@
1 +No
Macro 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 = $mathtool.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'))
Default categories
... ... @@ -1,0 +1,1 @@
1 +Deprecated
Default category
... ... @@ -1,1 +1,0 @@
1 -Deprecated