Skip to content

Commit

Permalink
Bug fix: Fix DataTable pageLength value (#7169)
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudIO authored Sep 27, 2024
2 parents 078fb67 + 4118a0a commit 1661c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Include/Header-function.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function Header_body_scripts(): void
iDashboardServiceIntervalTime:"<?= SystemConfig::getValue('iDashboardServiceIntervalTime') ?>",
plugin: {
dataTable : {
"pageLength": "<?= $tableSize ?>",
"pageLength": <?= $tableSize ?>,
"lengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
"language": {
"url": "<?= SystemURLs::getRootPath() ?>/locale/datatables/<?= $localeInfo->getDataTables() ?>.json"
Expand Down

0 comments on commit 1661c45

Please sign in to comment.