Skip to content

Commit e306de6

Browse files
authored
Merge pull request #118 from nmfzone/patch-1
Set the start to 0 on export.
2 parents d0d5e12 + c0b910f commit e306de6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Services/DataTable.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,10 @@ protected function mapResponseToColumns($columns, $type)
323323
*/
324324
protected function getAjaxResponseData()
325325
{
326-
$this->request()->merge(['length' => -1]);
326+
$this->request()->merge([
327+
'start' => 0,
328+
'length' => -1,
329+
]);
327330

328331
$response = app()->call([$this, 'ajax']);
329332
$data = $response->getData(true);

0 commit comments

Comments
 (0)