Changes for page Attachments JSON Service

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

From 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]
To 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]

Summary

Details

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