Skip to content

Commit

Permalink
Fix include all export strategy not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreyu committed Nov 13, 2024
1 parent 69d7898 commit 4b864cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ public function export(?ExportData $data = null): ExportFile
$data = $event->getExportData();

if (ExportStrategy::IncludeAll === $data->strategy) {
$this->paginate(new PaginationData(page: 1, perPage: null), persistence: false);
$dataTable->paginate(new PaginationData(page: 1, perPage: null), persistence: false);
}

if (!$data->includePersonalization) {
Expand Down

0 comments on commit 4b864cf

Please sign in to comment.