From 69f779c688384ffd04b787fa1490e6883d33d0e3 Mon Sep 17 00:00:00 2001 From: David Roper Date: Thu, 29 Jan 2026 12:04:16 -0500 Subject: [PATCH] fix: adjust listSubjects filter to include all data instead of a single page --- apps/web/src/routes/_app/datahub/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/routes/_app/datahub/index.tsx b/apps/web/src/routes/_app/datahub/index.tsx index 2f27daa2b..632d6df5d 100644 --- a/apps/web/src/routes/_app/datahub/index.tsx +++ b/apps/web/src/routes/_app/datahub/index.tsx @@ -76,7 +76,7 @@ const Toggles: React.FC<{ table: TanstackTable.Table }> = ({ table }) = getExportRecords() .then((data): any => { const listedSubjects = table - .getRowModel() + .getPrePaginationRowModel() .rows.flatMap((row) => row.getVisibleCells().map((cell) => removeSubjectIdScope(cell.row.original.id))); const filteredData = data.filter((dataEntry) => listedSubjects.includes(dataEntry.subjectId));