From 849cc923f3d544cc3a32e2c40f31731a8beab5ea Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Wed, 27 Sep 2023 15:18:28 +0200 Subject: [PATCH] Added pagination support for QueryTemplates --- .../resourceregistry/rest/QueryTemplateManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/QueryTemplateManager.java b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/QueryTemplateManager.java index 85f399d..a5edeb7 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/QueryTemplateManager.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/QueryTemplateManager.java @@ -47,6 +47,7 @@ public class QueryTemplateManager extends BaseRest { ServerRequestInfo serverRequestInfo = initRequestInfo(); serverRequestInfo.setAllMeta(true); serverRequestInfo.checkBooleanQueryParameter(ContextPath.INCLUDE_META_QUERY_PARAMETER); + serverRequestInfo.checkLimitOffset(); QueryTemplateManagement queryTemplateManagement = new QueryTemplateManagement(); return queryTemplateManagement.all(false);