diff --git a/assets/controllers/elements/datatables/datatables_controller.js b/assets/controllers/elements/datatables/datatables_controller.js index f9dc447e..0c7f0b11 100644 --- a/assets/controllers/elements/datatables/datatables_controller.js +++ b/assets/controllers/elements/datatables/datatables_controller.js @@ -71,6 +71,8 @@ export default class extends Controller { if (data) { //Do not save the start value (current page), as we want to always start at the first page on a page reload data.start = 0; + //50 is the default length supplied by datatables, reset it to that value + data.length = 50; } return data;