diff --git a/packages/nocodb/src/lib/controllers/filter.ctl.ts b/packages/nocodb/src/lib/controllers/filter.ctl.ts index b8c220d723..ef2d68d898 100644 --- a/packages/nocodb/src/lib/controllers/filter.ctl.ts +++ b/packages/nocodb/src/lib/controllers/filter.ctl.ts @@ -21,11 +21,13 @@ export async function filterList(req: Request, res: Response) { } export async function filterChildrenRead(req: Request, res: Response) { - const filter = await filterService.filterChildrenList({ - filterId: req.params.filterParentId, - }); - - res.json(filter); + res.json( + new PagedResponseImpl( + await filterService.filterChildrenList({ + filterId: req.params.filterParentId, + }) + ) + ); } export async function filterCreate(req: Request, res) {