Skip to content

Commit

Permalink
ead33b4b19822f88aede580088e6ed6ae1fc06de Fix: Using -api rows() in …
Browse files Browse the repository at this point in the history
…`-event preInit` with `search: 'applied'` was failing.

This was apparent from the KeyTable unit tests

Sync to source repo @ead33b4b19822f88aede580088e6ed6ae1fc06de
  • Loading branch information
dtbuild committed Jul 17, 2024
1 parent 02896d2 commit 597132c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
],
"src-repo": "http://github.com/DataTables/DataTablesSrc",
"last-tag": "2.0.8",
"last-sync": "4568713181927b8a7ff3bcf160089c79cf32d0d4"
"last-sync": "ead33b4b19822f88aede580088e6ed6ae1fc06de"
}
3 changes: 3 additions & 0 deletions js/dataTables.js
Original file line number Diff line number Diff line change
Expand Up @@ -4762,6 +4762,9 @@
_fnAddTr( settings, $(settings.nTBody).children('tr') );
}

// Filter not yet applied - copy the display master
settings.aiDisplay = settings.aiDisplayMaster.slice();

// Enable features
_fnAddOptionsHtml( settings );
_fnSortInit( settings );
Expand Down
2 changes: 1 addition & 1 deletion js/dataTables.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.min.mjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions js/dataTables.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4709,6 +4709,9 @@ function _fnInitialise ( settings )
_fnAddTr( settings, $(settings.nTBody).children('tr') );
}

// Filter not yet applied - copy the display master
settings.aiDisplay = settings.aiDisplayMaster.slice();

// Enable features
_fnAddOptionsHtml( settings );
_fnSortInit( settings );
Expand Down

0 comments on commit 597132c

Please sign in to comment.