FIX: de-sensitize alphabetSearch for case (#2381)

This commit is contained in:
Barbeque Sauce 2019-12-29 18:56:06 -05:00 committed by evilhero
parent 54eb2bb96d
commit 81fa69c246
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ $.fn.dataTable.ext.search.push( function ( context, searchData ) {
if ( context.alphabetSearch.match('nonalpha') && !(searchData[1].charAt(0).match(/^[a-zA-Z]/)) ) {
return true;
}
if ( searchData[1].charAt(0) === context.alphabetSearch ) {
if ( searchData[1].charAt(0).toUpperCase() === context.alphabetSearch ) {
return true;
}