Browse Source

fix: avoid overriding query params(limit,offset)

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5379/head
Pranav C 2 years ago
parent
commit
9e406d55ca
  1. 2
      packages/nocodb/src/lib/services/dbData/helpers.ts

2
packages/nocodb/src/lib/services/dbData/helpers.ts

@ -250,7 +250,7 @@ export async function getDbRows(param: {
});
const rows = await nocoExecute(
ast,
await baseModel.list({ ...listArgs, offset, limit, ...dependencyFields }),
await baseModel.list({ ...listArgs, ...dependencyFields, offset, limit }),
{},
query
);

Loading…
Cancel
Save