Patrik
5cf92878a4
fix(plugin-import-export): duplicated rows and headers in CSV export when streaming paginated results ( #12941 )
...
This PR fixes an issue in the export logic where CSV downloads would
include duplicate rows and repeated column headers across paginated
batches.
Key changes:
- Ensured `page` is incremented correctly after each `payload.find` call
- Tracked and wrote CSV column headers only once for the first page
- Prevented row duplication by removing unused `result` initialization
and using isolated `page` tracking
- Streamlined both download and non-download logic for consistent batch
processing
This resolves incorrect row counts and header duplication in large CSV
exports.
2025-06-26 06:09:17 -07:00
..
2025-06-05 09:19:19 -07:00
2025-06-25 14:55:07 +01:00
2025-06-19 09:18:29 +00:00
2025-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2024-11-16 15:30:05 -05:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-04-08 17:25:29 -03:00
2025-05-19 12:36:40 -03:00
2025-06-25 17:06:44 -04:00
2025-06-05 09:19:19 -07:00
2025-06-19 09:18:29 +00:00
2025-06-05 09:19:19 -07:00
2025-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2025-06-25 17:43:57 -07:00
2025-06-05 09:19:19 -07:00
2025-05-19 12:36:40 -03:00
2025-05-19 12:36:40 -03:00
2025-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2025-05-19 12:36:40 -03:00
2025-05-19 12:36:40 -03:00
2025-06-25 09:44:00 -04:00
2025-06-05 09:19:19 -07:00
2025-06-10 11:56:28 -04:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-05-19 12:36:40 -03:00
2025-06-25 17:43:57 -07:00
2025-06-11 06:23:22 -07:00
2025-05-28 16:50:47 -03:00
2024-10-30 17:56:50 +00:00
2025-06-16 07:58:03 -04:00
2025-06-18 21:43:42 -07:00
2025-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2024-08-13 12:54:33 -04:00
2025-06-16 16:03:18 -04:00
2025-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-05-19 12:36:40 -03:00
2025-05-19 12:36:40 -03:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-26 06:09:17 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-05 09:19:19 -07:00
2025-06-16 07:58:03 -04:00
2025-06-17 22:24:53 +00:00
2025-06-24 21:25:48 +03:00
2024-07-23 13:44:44 -04:00
2025-06-05 09:19:19 -07:00
2025-05-19 12:36:40 -03:00
2025-06-26 06:40:18 -04:00
2025-06-11 07:49:34 -07:00
2025-05-19 12:36:40 -03:00
2025-06-11 12:04:25 +00:00
2025-05-19 12:36:40 -03:00
2025-05-19 12:36:40 -03:00
2025-06-12 09:01:20 -04:00
2025-06-16 14:56:05 -04:00
2025-06-24 13:18:25 -04:00
2024-07-11 15:59:38 -04:00
2024-05-25 15:45:05 +00:00
2025-06-04 17:34:37 -03:00
2023-09-01 14:45:41 -04:00
2024-03-07 11:33:46 -05:00
2025-06-05 22:01:55 -03:00
2024-12-31 09:14:56 -05:00
2025-06-17 09:10:42 -04:00
2025-06-09 19:09:52 +00:00
2024-12-19 11:08:17 -05:00
2024-08-13 12:54:33 -04:00
2025-03-05 19:14:35 +00:00
2024-09-16 17:02:08 +00:00
2025-05-21 16:25:34 -04:00
2024-09-16 17:02:08 +00:00
2024-11-11 13:59:05 -05:00
2024-10-11 18:54:39 +00:00
2025-02-17 19:50:32 +00:00
2024-10-11 18:54:39 +00:00
2024-12-17 14:49:29 -05:00
2025-03-11 09:45:13 -06:00
2025-06-23 15:10:51 -04:00
2024-05-01 17:35:41 -04:00
2025-02-07 03:24:49 +00:00
2025-06-05 22:01:55 -03:00
2024-08-14 08:57:04 -04:00
2024-08-14 08:57:04 -04:00
2024-10-14 20:02:26 +00:00
2025-03-05 19:14:35 +00:00
2025-05-12 09:41:18 -04:00
2024-06-17 14:25:36 -04:00
2025-02-14 00:08:20 +00:00
2024-03-14 23:53:47 -04:00
2025-01-14 20:00:00 -03:00
2025-03-05 19:14:35 +00:00