From 815c1f231f9362ab8e359acbced65b68d5727ea3 Mon Sep 17 00:00:00 2001 From: Julian_phronesys Date: Thu, 9 Mar 2023 09:41:59 +0100 Subject: [PATCH] config wasn't loading for pageLength, fixed --- src/Datatable/Datatable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Datatable/Datatable.php b/src/Datatable/Datatable.php index 45f78fb..462636a 100644 --- a/src/Datatable/Datatable.php +++ b/src/Datatable/Datatable.php @@ -438,7 +438,7 @@ public function getDatatableScript(): string 'columnSearchTemplate' => $columnSearchTemplate, 'tagId' => $tagId, 'autoWidth' => $this->getConfig('autoWidth') ? 'true' : 'false', - 'pageLength' => $this->getConfig('pageLentgh') ?? '10', + 'pageLength' => $this->getConfig('pageLength') ?? '10', 'processing' => $this->getConfig('processing') ? 'true' : 'false', 'serverSide' => $this->getConfig('serverSide') ? 'true' : 'false', 'configColumns' => $this->configColumns,