1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-22 07:42:24 +00:00

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

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;
}