Skip to content

The open alternative to Salesforce, designed for AI.

FIX: export view not exporting all records (#15509)

Shantanu Gupta06b8ea7c364e
diff --git a/packages/twenty-front/src/modules/object-record/hooks/useLazyFetchAllRecords.ts b/packages/twenty-front/src/modules/object-record/hooks/useLazyFetchAllRecords.ts
index 9dee8e1bd79..01d84c47ffd 100644
--- a/packages/twenty-front/src/modules/object-record/hooks/useLazyFetchAllRecords.ts
+++ b/packages/twenty-front/src/modules/object-record/hooks/useLazyFetchAllRecords.ts
@@ -87,7 +87,7 @@ export const useLazyFetchAllRecords = <T>({
await sleep(delayMs);
}
- const rawResult = await fetchMoreRecordsLazy();
+ const rawResult = await fetchMoreRecordsLazy(limit);
const fetchMoreResult = rawResult?.data;