TT#70478 - Enable stateSave for datatables

* Enabled stateSave but only for row
	   number because it was previously
	   disabled for caching the search box

Change-Id: Ie1bd42dc890bd574167db3a073f8350c3d90f043
(cherry picked from commit 374a42cd2e)
changes/23/36223/2
Flaviu Mates 6 years ago
parent a8b60e6aa3
commit 703a1cc468

@ -67,6 +67,9 @@ $(document).ready(function() {
"bPaginate": [% helper.paginate || 'true' %],
"bFilter": [% helper.filter || 'true' %],
"bStateSave": true,
"stateSaveParams": function (settings, data) {
data.search.search = "";
},
"iStateDuration": 0,
"sPaginationType": "bootstrap",
@ -81,7 +84,6 @@ $(document).ready(function() {
"iDisplayLength": 5,
"iShowPages": 5,
"sAjaxSource": "[% helper.ajax_uri %]",
"bStateSave": false,
"searchDelay": 800,
[% IF helper.column_sort -%]
"aaSorting": [

Loading…
Cancel
Save