From c524f8cc6533f28e9a0883b944d962bfc978c853 Mon Sep 17 00:00:00 2001 From: James Mason Date: Wed, 20 Jun 2018 15:17:27 -0700 Subject: [PATCH] Add an option for shorter datatable pages --- app/assets/javascripts/osem-datatables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/osem-datatables.js b/app/assets/javascripts/osem-datatables.js index aea2ca03..0248275f 100644 --- a/app/assets/javascripts/osem-datatables.js +++ b/app/assets/javascripts/osem-datatables.js @@ -3,7 +3,7 @@ $(function () { "stateSave": true, "autoWidth": false, "pagingType": "full_numbers", - "lengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]], + "lengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]], }); $('.datatable:not([data-source])').DataTable();