diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 43f10017..7e208c96 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -8507,7 +8507,7 @@ * $('#example').dataTable( { * "bStateSave": true, * "fnStateLoadParams": function (oSettings, oData) { - * oData.oFilter.sSearch = ""; + * oData.oSearch.sSearch = ""; * } ); * } ); * @@ -8538,7 +8538,7 @@ * $('#example').dataTable( { * "bStateSave": true, * "fnStateLoaded": function (oSettings, oData) { - * alert( 'Saved filter was: '+oData.oFilter.sSearch ); + * alert( 'Saved filter was: '+oData.oSearch.sSearch ); * } ); * } ); */ @@ -8600,7 +8600,7 @@ * $('#example').dataTable( { * "bStateSave": true, * "fnStateSaveParams": function (oSettings, oData) { - * oData.oFilter.sSearch = ""; + * oData.oSearch.sSearch = ""; * } ); * } ); */ diff --git a/media/src/model/model.defaults.js b/media/src/model/model.defaults.js index 94efe90c..59ebd85c 100644 --- a/media/src/model/model.defaults.js +++ b/media/src/model/model.defaults.js @@ -1030,7 +1030,7 @@ DataTable.defaults = { * $('#example').dataTable( { * "bStateSave": true, * "fnStateLoadParams": function (oSettings, oData) { - * oData.oFilter.sSearch = ""; + * oData.oSearch.sSearch = ""; * } ); * } ); * @@ -1061,7 +1061,7 @@ DataTable.defaults = { * $('#example').dataTable( { * "bStateSave": true, * "fnStateLoaded": function (oSettings, oData) { - * alert( 'Saved filter was: '+oData.oFilter.sSearch ); + * alert( 'Saved filter was: '+oData.oSearch.sSearch ); * } ); * } ); */ @@ -1123,7 +1123,7 @@ DataTable.defaults = { * $('#example').dataTable( { * "bStateSave": true, * "fnStateSaveParams": function (oSettings, oData) { - * oData.oFilter.sSearch = ""; + * oData.oSearch.sSearch = ""; * } ); * } ); */