Browse Source

fix: hasmany pagination - api correction

re #2242

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2326/head
Pranav C 3 years ago
parent
commit
300d9bf973
  1. 3
      packages/nocodb/src/lib/meta/api/dataApis/dataAliasNestedApis.ts

3
packages/nocodb/src/lib/meta/api/dataApis/dataAliasNestedApis.ts

@ -186,7 +186,8 @@ export async function hmList(req: Request, res: Response, next) {
res.json( res.json(
new PagedResponseImpl(data, { new PagedResponseImpl(data, {
totalRows: count count,
...req.query
} as any) } as any)
); );
} }

Loading…
Cancel
Save