diff --git a/assets/src/scripts/_datatable.js b/assets/src/scripts/_datatable.js index 481169d83..2b474ab50 100644 --- a/assets/src/scripts/_datatable.js +++ b/assets/src/scripts/_datatable.js @@ -75,7 +75,7 @@ const initCustomTable = async () => { const dataTable = new DataTable(tableEl, { paging: true, - perPage: 25, + perPage: tableEl.dataset.perpage ? tableEl.dataset.perpage : 25, searchable: true, sortable: true, tableRender: (_data, table) => { diff --git a/templates/_components/index.html b/templates/_components/index.html index 50c96c2fa..d03e6b859 100644 --- a/templates/_components/index.html +++ b/templates/_components/index.html @@ -691,7 +691,7 @@

List group rich item

Modal