Change default page length to 25 and save state in DataTables tables
This commit is contained in:
		| @@ -15,6 +15,8 @@ | ||||
| $(document).ready(function() { | ||||
|   var table = $('#data-table').dataTable({ | ||||
|     "deferRender": true, | ||||
|     "stateSave": true, | ||||
|     "pageLength": 25, | ||||
|     "data": [% results %], | ||||
|     "columns": [ | ||||
|       { | ||||
| @@ -52,4 +54,3 @@ $(document).ready(function() { | ||||
|   }); | ||||
| }); | ||||
| </script> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user