mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
Docs: Fix - Parameter for filtering options in state saving examples should be oSearch, not oFilter - 8408
This commit is contained in:
parent
68975aff10
commit
6021360da1
6
media/js/jquery.dataTables.js
vendored
6
media/js/jquery.dataTables.js
vendored
@ -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 = "";
|
||||
* } );
|
||||
* } );
|
||||
*/
|
||||
|
@ -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 = "";
|
||||
* } );
|
||||
* } );
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user