Changes for page Space Index

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

From version 1.1
edited by Leon Poon
on 2018/12/16 14:31
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-ui/10.10]
To version 4.1
edited by Leon Poon
on 2022/03/09 14:33
Change comment: Migrated property [priority] from class [XWiki.WikiMacroClass]

Summary

Details

XWiki.WikiMacroClass[0]
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'))