Skip to content

Commit

Permalink
Fix: Regex searches can't be cummulative since the regex can alter wh…
Browse files Browse the repository at this point in the history
…at has gone before

Sync to source repo @4b411b22e9741845e8b8ff04895e16d764052f4a
  • Loading branch information
Allan Jardine committed Sep 9, 2019
1 parent e91319c commit 941b8ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"js/jquery.dataTables.min.js"
],
"src-repo": "http://github.com/DataTables/DataTablesSrc",
"last-sync": "ae01542c8fad109cdffa27308678a421189df3f0",
"last-sync": "4b411b22e9741845e8b8ff04895e16d764052f4a",
"last-tag": "1.10.19"
}
1 change: 1 addition & 0 deletions js/jquery.dataTables.js
Original file line number Diff line number Diff line change
Expand Up @@ -4407,6 +4407,7 @@
// New search - start from the master array
if ( invalidated ||
force ||
regex ||
prevSearch.length > input.length ||
input.indexOf(prevSearch) !== 0 ||
settings.bSorted // On resort, the display master needs to be
Expand Down
2 changes: 1 addition & 1 deletion js/jquery.dataTables.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 941b8ae

Please sign in to comment.