Skip to content

Commit

Permalink
Use datatables_page_length_default option
Browse files Browse the repository at this point in the history
  • Loading branch information
coudot committed Nov 13, 2024
1 parent ac0ef1c commit a9c31e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/footer.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@
menu: [ {$datatables_page_length_choices nofilter} ]
}
{/if}
{literal}
},
},
{if $datatables_page_length_default}
pageLength: {$datatables_page_length_default},
{/if
{literal}
language: {
url: "vendor/datatables/i18n/{/literal}{$lang|default:'en'}{literal}.json"
}
Expand Down

0 comments on commit a9c31e4

Please sign in to comment.