Changes for page Attachments JSON Service

Last modified by SuperNico Laub on 2025/09/18 17:54

From version 2.1
edited by SuperNico Laub
on 2025/09/18 17:54
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-ui/17.7.0]
To version 1.1
edited by superadmin
on 2025/05/22 17:43
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-ui/16.10.8]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.supernico
1 +XWiki.superadmin
Content
... ... @@ -13,7 +13,10 @@
13 13   #if (!$offset || $offset < 0)
14 14   #set ($offset = 0)
15 15   #end
16 - #getAndValidateQueryLimitFromRequest('limit', 15, $limit)
16 + #set ($limit = $numbertool.toNumber($request.limit).intValue())
17 + #if (!$limit)
18 + #set ($limit = 15)
19 + #end
17 17   ##
18 18   ## Apply live table filters.
19 19   ##