mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-02 14:24:11 +01:00
DataTables 1.8 beta 4 development starting point
Fix: If state saving is enabled, but sorting is not - then any saved filter would not be automatically applied. The fix is to call the filtering function at start up. Thanks to Michael Hamann and Roland Ramthun for finding and fixing this issue.
This commit is contained in:
parent
419ad58d0b
commit
12bbdad059
9
media/js/jquery.dataTables.js
vendored
9
media/js/jquery.dataTables.js
vendored
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* File: jquery.dataTables.js
|
||||
* Version: 1.8.0.beta.3
|
||||
* Version: 1.8.0.dev.4
|
||||
* Description: Paginate, search and sort HTML tables
|
||||
* Author: Allan Jardine (www.sprymedia.co.uk)
|
||||
* Created: 28/3/2008
|
||||
@ -67,7 +67,7 @@
|
||||
* Notes: Allowed format is a.b.c.d.e where:
|
||||
* a:int, b:int, c:int, d:string(dev|beta), e:int. d and e are optional
|
||||
*/
|
||||
_oExt.sVersion = "1.8.0.beta.3";
|
||||
_oExt.sVersion = "1.8.0.dev.4";
|
||||
|
||||
/*
|
||||
* Variable: sErrMode
|
||||
@ -2366,6 +2366,10 @@
|
||||
{
|
||||
_fnSort( oSettings );
|
||||
}
|
||||
else if ( oSettings.oFeatures.bFilter )
|
||||
{
|
||||
_fnFilterComplete( oSettings, oSettings.oPreviousSearch );
|
||||
}
|
||||
else
|
||||
{
|
||||
oSettings.aiDisplay = oSettings.aiDisplayMaster.slice();
|
||||
@ -7286,4 +7290,3 @@
|
||||
});
|
||||
};
|
||||
})(jQuery, window, document);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user