From 300d9bf973ae808d97423fb5bd160a90a2db31ca Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 11 Jun 2022 20:46:33 +0530 Subject: [PATCH] fix: hasmany pagination - api correction re #2242 Signed-off-by: Pranav C --- .../nocodb/src/lib/meta/api/dataApis/dataAliasNestedApis.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nocodb/src/lib/meta/api/dataApis/dataAliasNestedApis.ts b/packages/nocodb/src/lib/meta/api/dataApis/dataAliasNestedApis.ts index a0340bef69..8819f84516 100644 --- a/packages/nocodb/src/lib/meta/api/dataApis/dataAliasNestedApis.ts +++ b/packages/nocodb/src/lib/meta/api/dataApis/dataAliasNestedApis.ts @@ -186,7 +186,8 @@ export async function hmList(req: Request, res: Response, next) { res.json( new PagedResponseImpl(data, { - totalRows: count + count, + ...req.query } as any) ); }