From debea960c6dda0480b90801c32c96a6e08925a78 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 14 Nov 2013 17:08:10 +0000 Subject: [PATCH] Api fix - cache() method should look for 'search' as the passed in parameter --- .datatables-commit-sync | 2 +- media/js/jquery.dataTables.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 8efdb3ca..b4ec11c3 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -d1221f86def93ca4d1bdf526a7812d2d64891967 +48e7986fbdcf57964ca3f42942113186d418b772 diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index bf6a9ed9..a2be1fd0 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -7318,7 +7318,7 @@ _api_registerPlural( 'rows().cache()', 'row().cache()', function ( type ) { return this.iterator( 'row', function ( settings, row ) { - return type === 'filter' ? row._aFilterData : row._aSortData; + return type === 'search' ? row._aFilterData : row._aSortData; } ); } );