mirror of https://github.com/evilhero/mylar
FIX: de-sensitize alphabetSearch for case (#2381)
This commit is contained in:
parent
cbb89e1b60
commit
88a22458a9
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue